Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to test how many users my website can handle?

I plan on running my website initially on an EC2 micro instance but am wondering if it's possible for me to test how many users it can handle?

like image 231
john Avatar asked Jul 29 '11 18:07

john


People also ask

How many users can a website handle?

With a single CPU core, a web server can handle around 250 concurrent requests at one time, so with 2 CPU cores, your server can handle 500 visitors at the same time. Getting the balance right between performance and cost is crucial as your site grows in popularity.

How many users should a website handle?

CPU Cores. A Single CPU core will commonly handle an average of 220 to 250 concurrent connections simultaneously. If for instance, a website runs on a server that has a single CPU with 2 CPU cores, approximately 500 visitors may access and search the website at the same time.


1 Answers

Yes. I've had good success using httperf. Documentation is a little scarce but the email list is fairly responsive.

You'll want to set up httperf to bombard your site with larger and larger amounts of traffic. You'll start seeing error codes, timeouts, and slow reply times as you start to saturate your webserver with traffic.

You'll want to experiment with this or any tool you decide for load-testing your site. Good luck!

like image 57
jkndrkn Avatar answered Oct 04 '22 00:10

jkndrkn