>>> 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 >> So far, I'm not sold neither for luafcgid, nor for Lua-fpm. But that's >> only because I'm still thinking to write one of them myself (or even >> both). :-) > Open source? I hope so, then I might borrow some stuff myself ;) Not open-source, sorry. I'll share what I can, but this would not be much. Perhaps next time. :-) Alexander. _______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
