[Twisted-Python] RE: Question about Descriptors and SelectReactor

glyph at divmod.com glyph at divmod.com
Tue Apr 7 23:02:22 EDT 2009

On 7 Apr, 06:17 pm, matusis at yahoo.com wrote:
>>However I am using Linux. The Twisted documentation is recommending
>>that it may be better to use pollreactor
>I would be actually quite curious to know the rationale of choosing 
>over epoll() these days.
>epoll() scales like O(1) with the number of file descriptors, it is 
>performant, stable, and has no limitation on the overall number of fds 
>linux (except for your /proc and ulimit -n settings). I'd use epoll 
>unless you have some very specialized requirement.

Short answer: because select() is always available.

Longer answer: Looks like maybe you want to contribute a patch for this 
ticket :)


More information about the Twisted-Python mailing list