[Twisted-Python] Advise for heavy concurrency

Manlio Perillo manlio_perillo at libero.it
Fri Nov 30 14:42:48 EST 2007

Alec Matusis ha scritto:
>> You can also consider nginx, if you want to write a server in C
>> (or in the D language).
>> It is a web server, but its core is usable as a framework for generic
>> servers (in fact nginx has also a POP3/IMAP4 proxy server).
> Do you know if anybody has written general-purpose TCP servers using nginx? It would be interesting to look at.

There are only an HTTP server and a "mail" proxy (POP3/IMAP4/SMTP), and 
they are quite complex, since there is a lot of boilerplate code.

As an example, for mail support there is one "CORE" module ("mail"), and 
POP3, IMAP4 and SMPT are handled using "sub" modules of this core module.

Each core module boilerplate code has to setup the parsing of 
configuration files and the listening sockets.

Manlio Perillo

More information about the Twisted-Python mailing list