Best way to test how much traffic your droplet can handle?
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 loader.io 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 loader.io 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??
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.