[Twisted-Python] eta for an epoll reactor?

Jean-Paul Calderone exarkun at divmod.com
Fri Oct 27 22:38:53 MDT 2006


On Fri, 27 Oct 2006 22:02:38 -0600, Count László de Almásy <calmasy at gmail.com> wrote:
>On 10/27/06, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>>As of earlier this week (or maybe last week, I forget), there is a
>>epoll-based level-triggered reactor in trunk at HEAD.  It will be included
>>in Twisted 2.5.
>
>Nice!  How about edge-triggered epoll?
>

Patches accepted :)  Level-triggered already buys quite a lot over poll.
I expect edge-triggered is even better, but I don't think I have any apps
where I'd notice the difference (it's probably not likely I'd notice the
difference between poll and epoll, actually), so I probably won't be spending
any time on this in the near future.

Edge-triggered shares a lot less code with the existing reactors.  Maybe
some of the recent IOCP work will be leveragable to this goal, though.

Jean-Paul




More information about the Twisted-Python mailing list