[Twisted-Python] how to choose reactor in unix?

Jean-Paul Calderone exarkun at divmod.com
Thu Apr 10 07:53:19 EDT 2008

On Thu, 10 Apr 2008 11:20:23 +0800, weiwei <weiwei at baosight.com> wrote:
>When I develop a twisted program,which reactor is the best?

Reactors present a uniform interface.  When you develop a Twisted program,
it rarely makes any difference which reactor you use.  When you deploy a
Twisted program, the target platform and scalability concerns should
to the choice.  If you use `twistd´, then all you have to do to use a
different reactor is pass a different value for the `--reactor´ option.
In most cases, your actual application shouldn't know or care which reactor
is being used.


More information about the Twisted-Python mailing list