Which plan should i sign up for?

January 23, 2015 987 views

Hi,

I tried to find the answer of my question from old posts but i couldn't find it.

I need a web hosting with php+mysql.

I will need 30k concurrent users and per user needs nearly 50mb static content. Which plan I should select?

Thanks

3 comments
  • Can you provide a bit of clarification on your needs and expected traffic. You mention needing php+mysql but then say you are serving static content. Are you serving database driven scripts or static content? Also you mention 30k concurrent users. This is a massive amount of traffic, are you certain you do not mean 30k daily users? With a little clarification it should be possible to get you pointed in the right direction to select a plan that will meet your needs.

  • Yes i will use mysql database with php. I need static design assets like images, jss, css files, etc. Static content is nearly 50mb.

    Yes question was 30k concurrent users, not daily. But we changed the idea because of mass traffic concern, we don't need 30k concurrent users now.

    Let me explain our renewed idea for clarification. We designed a kind of quiz with images for a huge company. Their IT department will send email the quiz link to all 20k Employees. All employees may register in same hour or not, maybe they will register another day. We don't know but we have to be ready for every possible situation. I hope this brief is enough for you.

    We have another client for same project with nearly 1k people. I also need your advice for this group.

    Thanks for your help.

  • For this large of a deployment I would recommend a few things.

    1.) First I would place your MySQL service on a separate droplet from your web services.

    2.) I would consider setting up two or more web servers behind an nginx load balancer, this way you have some redundancy while sharing the load between multiple droplets. This type of configuration would also allow you to add additional nodes should you find they are needed. Since all droplets are billed at their hourly rate you would only need to deploy additional nodes as they are needed.

    With this large a number of users the best bet would be to set up a basic configuration and do some load testing for yourself as minor changes in the code, images, and configuration can be amplified with this volume of visitors.

    by Etel Sverdlov
    This article covers how to set up a simple load balancer on a DigitalOcean droplet with nginx. The tutorial covers setting up a round robin loadbalancer that can then direct site visitors to one of a set of IPs
1 Answer

This question was answered by @ryanpq:

For this large of a deployment I would recommend a few things.

1.) First I would place your MySQL service on a separate droplet from your web services.

2.) I would consider setting up two or more web servers behind an nginx load balancer, this way you have some redundancy while sharing the load between multiple droplets. This type of configuration would also allow you to add additional nodes should you find they are needed. Since all droplets are billed at their hourly rate you would only need to deploy additional nodes as they are needed.

With this large a number of users the best bet would be to set up a basic configuration and do some load testing for yourself as minor changes in the code, images, and configuration can be amplified with this volume of visitors.

View the original comment

by Etel Sverdlov
This article covers how to set up a simple load balancer on a DigitalOcean droplet with nginx. The tutorial covers setting up a round robin loadbalancer that can then direct site visitors to one of a set of IPs
Have another answer? Share your knowledge.