On Wed, Oct 3, 2012 at 2:09 PM, Niphlod <niph...@gmail.com> wrote:

> PS: ab -c 1000 -n 10000 on tornado-motor fails after ~7000 requests,
> cherrypy finishes without issues (both with 1-1 (89 rps) and 10-20
> threads(18 rps)).

tornado fails because on Windows it's using select() and select doesn't scale
well. That is the reason that on Linux/BSD they implemented epoll/kqueue
to avoid the limitations of select. Windows has IOCP  but is not
supported by tornado not even in python.

There is, at least, one attempt to bring IOCP to python using ctypes
http://code.google.com/p/python-iocp/

Ricardo

-- 



Reply via email to