Alexander Gladysh wrote:
With 10 worker threads and nginx, "ab -c 10 -n 10
http://x.x.x.x/multiplex-test.lua"; gives almost 10 rps, each one taking
just
over 1 sec. If any take 2 secs or more, then the webserver is serializing
requests.

Sorry for the stupid question, but you are of course, aware, that ab
-c 10 still runs in a single thread? (I'm asking because I've figured
this out only recently.)

Not sure about how it uses threads, but it certainly runs multiple
connections simultaneously (on FreeBSD-7.2 at least). That test took only 1
second to run.

<...>

After looking at the C code for ab, it is not multi-threaded, true. But it
definitely supports concurrent connections, using an event/poll model (just
like lighttpd). So it will certainly suffice for such testing.

I was worried by this article:
http://weblogs.java.net/blog/sdo/archive/2007/03/ab_considered_h.html


You have inspired me to dig around, and I found this rather nifty tool:

http://curl-loader.sourceforge.net/

It is pure C (doesn't require a JVM), multithreaded, and uses libcurl - which is used by many companies for automation clients that connect to HTTP gateways. Not to mention about a zillion PHP/Python/Ruby shopping carts and webapps.

This would make it perfect for a tool that tests consumable RESTful interfaces and large interactive webapps (forums/social sites/digital content delivery). You can't get more authentic then the library many of the data consumers will use.

I will be playing around with it for awhile. Run some comparisons.

Anyone else have any suggestions for good testing tools of web frameworks?


_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to