[Twisted-Python] Twisted Web server (and possibly other applications) slow performance with many connections

Itamar Shtull-Trauring itamar at itamarst.org
Wed Dec 17 10:54:14 EST 2003

On Wed, 2003-12-17 at 00:41, Jp Calderone wrote:

>   Yes.  Twisted was specifically designed to scale poorly with smallish
> numbers of concurrent connections.

(Jp can be somewhat sarcastic sometimes.)

Note that twisted just won't scale as well as pure C
load-from-filesystem-only webservers, since *every* request is
essentialy "dynamic", i.e. requires slowish python code to run. That
does not mean twisted is slow, though, for dynamic sites it might run
faster than a apache/php/mysql app if architectured correctly, because
for dynamic apps that throughput (how many bytes you can push out) is
almost never the bottleneck. And twisted.web should be able to saturate
most network connections, even if it's slower at the moment at byte

More information about the Twisted-Python mailing list