[Twisted-Python] network server on multiprocessor hardware
art at academ.org
Sat Sep 5 10:07:24 EDT 2009
Laurens Van Houtven пишет:
> Are you sure it's dying out because of CPU limitations?
Yes, with 1k req/s cpu is 100% busy with python.
> Can you show any real applications where this happens?
I do not have real application in python/twisted now.
That could be any internet server with high load or under dos.
> In my experience your network IO always gives up ages before my processors croak :-)
> I happen to be in the middle of writing a project with a big
> computational component (at least when I'm not hacking away at
> twisted.positioning), and generally the heavy computational stuff
> doesn't live in the Twisted layer.
I do not have any heavy computations, just high request rate.
In that case you probably want to
> defer computation to a different process, a la Ampoule.
> have fun,
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python