Hacker News new | ask | show | jobs
by sunnyam 3246 days ago
Do you know of any way of testing your website to see how many concurrent users it can handle?
4 comments

Siege [0], is my go-to. Easy to add to CI, because its on most platforms, and has decent output configs. You can vary headers and pages to hit, and how long connections get held open, or just reject them. And of course, it has great concurrency.

It can bring down most servers that aren't configured to prevent DOS attacks, like naive nginx or Apache configs. Usually somewhere between 5-10mins.

[0] https://www.joedog.org/siege-home/

Check out something like locust[0]. It's a web load testing framework in python.

[0]:http://locust.io/

http://locust.io/ for example
a long long long time ago (~2009) i used jmeter. it spawns aws instances and pegs your website in ways of your choosing. by now I am sure they got something even more advanced