[Twisted-web] About handling thousands of sockets connections simultaneously

lasizoillo lasizoillo at gmail.com
Tue Sep 7 10:17:08 EDT 2010


2010/9/7 Arvin Wang <hustxnwsg at gmail.com>:
> thank you for your advice.
> i have chose the epoll reactor,and the requirement of my project is to be
> able to support 60,000 TCP-connects simultaneously. it seems that just
> choosing different reactor couldn't solve the problem, can you give some
> more suggestions?
>

Discard that you're exhausting ephemeral ports launching a lot of
client with same client host.

Monitor server process (memory, cpu, logs) to see possible server
problems or bottlenecks.



More information about the Twisted-web mailing list