Archives Jan. 31, 2010
Didn't even think to enable epoll in Twisted+TG
Written by
on
in
Snaking.
Enabling the epoll reactor in Twisted is a two-line change:
from twisted.internet import epollreactor
epollreactor.install()
from twisted.internet import reactor
From there on the app is unchanged. I didn't have time to really test that today (paying work and all), but I don't really expect to see much of a change. EPoll is about scaling up, ...