<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 14, 2010, at 1:48 PM, ruslan usifov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Which kqueue reactor in twisted is best?<br><br>Twisted have kqreactor&nbsp; - but it need PyKQueue patched version, and PyKQueue doesn't supported<br>Also i found <a href="https://trac.calendarserver.org/browser/CalendarServer/branches/users/glyph/use-system-twisted/kqreactor.py">https://trac.calendarserver.org/browser/CalendarServer/branches/users/glyph/use-system-twisted/kqreactor.py</a>, but doesn't known is it possible use in production?<br></blockquote><br></div><div>You should really follow this ticket: &lt;<a href="http://twistedmatrix.com/trac/ticket/1918">http://twistedmatrix.com/trac/ticket/1918</a>&gt;. &nbsp;We'd like there to be an included, working kqueue reactor, and we're working towards it.</div><div><br></div><div>As of right now, it depends what you're doing.</div><div><br></div><div>Calendar Server uses its version quite successfully in production. &nbsp;But Calendar Server does not make use of all the features of Twisted; in particular, it doesn't need PTYs to work, and kqueue has some issues with those.</div><div><br></div><div>In any event, if you want to use that module, you should be getting it from a release (see &lt;<a href="https://trac.calendarserver.org/browser/CalendarServer/tags/release">https://trac.calendarserver.org/browser/CalendarServer/tags/release</a>&gt;) or from trunk (&lt;<a href="https://trac.calendarserver.org/browser/CalendarServer/trunk/twext/internet/kqreactor.py">https://trac.calendarserver.org/browser/CalendarServer/trunk/twext/internet/kqreactor.py</a>&gt;), not from the branch you mentioned (which is stale, and I have now removed).</div><div><br></div></body></html>