[Twisted-Python] CPU choice for big twisted server.

Itamar Shtull-Trauring itamar at itamarst.org
Wed Mar 14 07:38:17 MDT 2007


On Tue, 2007-03-13 at 18:51 -0700, Alec Matusis wrote:

> The main load comes from poll() and from modifying long dictionaries of the
> protocol class instances (searching/modifying dictionaries of client
> sessions).

Simply switching to epoll should give significant improvement (it
supports up to 8-10K clients without complaining at least in the one
test we did, IIRC. poll starts using major CPU around 2 or 3K.)





More information about the Twisted-Python mailing list