Best way to test how much traffic your droplet can handle?

  • Posted March 2, 2015

Last night I installed a 1GB Droplet with discourse with a 2GB swap following the DO guide using docker on ubuntu 14.04 64 bit.

I ran a few tests on running 5,000 clients in a minute, it came back with about a 48% failure rate, around that number. Had 2700 Successes and 2300 400/500 page errors. I was using Cloudflare for my DNS, with DO.

I ran a few tests today on for another domain I have done through bluehost and got a success rate of 100% running 10,000 clients in one minute. Again, this is a website hosted through bluehost. This is the website

Granted, I don’t believe my discourse community will receiver 5,000 clients in a minute, I’m new to Digital Ocean and using a Cloud Server, and would like to be able to ball park and make sure my community always stays up and running. The most users i’ve ever had online at the same time in the past 7 years is 1,200, probably not counting annonymous users. But even when I chose to have 1,000 clients in one minute, I was still getting some unsuccessors.

EDIT: I recognized there was a redirect issue with my website on bluehost, making every client pass. I Just ran a test with 1,000 clients in one minute with 100% error rate, will update again after making some caching changes.

EDIT: Activated Cloudflare on bluehost, 100 clients per minute passes, 200 clients over one minute gets a miserable 52% fail rate… does this mean my website cannot handle this much traffic??

Please help.


EDIT: Activated WP-Super Cache on Bluehost website. 0% failure rate for 200 clients over one minute, 0% failure rate for 300 clients, 500 clients over one minute with 373 success rates and 0% failure, 1000 clients currently testing with a 0% error rate. 782 successes

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What you need is a cache like varnish or nginx, or both, Cloudflare helps a lot, but in a stress test it may be blocking some requests if they are originated from same ip addresses. Try direct testing your site without cloudflare (turn the orange cloud off) and see the results. While plugin cache helps a lot, is a lot better to rely on real cache solutions like varnish and nginx.

With 1GB droplet you can easily handle 1000+ users if you have some caching solution, Also use a CDN (Nginx is great to make your own) for static files.