By info493677
I have a static site. The site would have just some javascript and static content. I need to handle about 50,000 concurrent visitors. Can anybody explain which kind of architecture and technology is needed (e.g. single server / ngnix load balancing / …)
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!
Are you sure you will be getting 50000 concurrent connections? That equals approx. 129,600,000,000 connections per month. <br> <br>Nginx works pretty well for static websites, you can start off with a 2GB droplet (in order to get 2 CPU cores) and scale up if needed. Make sure you set nginx to use 2 worker processes (<code>/etc/nginx/nginx.conf</code>). <br> <br>If you won’t be getting that amount of traffic, a 512MB droplet will do just fine.
50000 is the highest amount of connection at one specific time, Average concurrent connection will be lower. <br> <br>Tnx
@roby <br> <br>It’s hard to make generalizations. The best thing to do would be to spin up some droplets and do some load testing of your set up. Consider throwing something like Varnish up in front of nginx to do some caching.
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.