[Twisted-Python] Twisted reactor cpu usage

Ilya Biin me at ilyabiin.com
Fri Mar 2 14:54:04 EST 2012

I've never used stack overflow before.
Direct connection to community seems preferrable.

Source code being tested was

import hotshot, hotshot.stats

from twisted.internet import epollreactor

from twisted.internet import reactor
from twisted.web import http
from twisted.web.proxy import Proxy

factory = http.HTTPFactory()
factory.protocol = Proxy

reactor.listenTCP(18001, factory)

reactor.callLater(60, reactor.stop)
prof = hotshot.Profile("stones.prof")

2012/3/2  <exarkun at twistedmatrix.com>:
> On 06:54 pm, me at ilyabiin.com wrote:
>>I'm using epoll reactor and sample HTTP Proxy realization.
> See also the question on stackoverflow:
>  http://stackoverflow.com/questions/9536732/twisted-reactor-cpu-usage
> Jean-Paul
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Ilya Biin

More information about the Twisted-Python mailing list