By tolgaburcak
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Hello, all
Choosing the right Droplet plan depends on your workload. An oversized Droplet would underuse its resources and cost more, but an undersized Droplet running at full CPU or memory would suffer from degraded performance or errors.
You can also resize a Droplet to a larger plan after creation, including resizing to a larger Droplet plan of a different kind. For example, you can resize from a Basic Droplet plan to a larger CPU-Optimized Droplet plan. See the Droplet pricing page for a full list of plans and prices.
You can always check our tutorial on Choosing the Right Droplet Plan
https://docs.digitalocean.com/products/droplets/resources/choose-plan/
Hope that this helps! Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.