Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask YC: How do you generate C100K requests?
6 points by dedalus on Nov 6, 2008 | hide | past | favorite | 5 comments
You must have had some way in the lab to generate 100K synthetic concurrent HTTP requests to determine your scaling needs May I know what tools you used to generate that load?

When I mean "concurrent" I am asking for concurrency at the server at a granularity of a second (the generating client concurrency is a different issue). A quick way to check this is your access log on a microsecond time scale and the number of loglines for a given second should be close 100,000.



You might want to check out the following, which was its own HN entry just a short while ago. This describes testing a million connections using raw Erlang as well as using a libevent/C front-end for the Erlang testing setup to handle connections. Of course, this person was doing C1024K, but you could probably dial down his presets for your purposes :)

http://www.metabrew.com/article/a-million-user-comet-applica...


But Siege says the following (so may not be enough)

"We've had people ask about configurations like -c1000 -d1. A single pre-forking apache server cannot handle such load without modification. It has a hardcoded limit of 256."



Siege is pretty good, if you're not happy with AB.

http://www.joedog.org/JoeDog/Siege





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: