[Twisted-Python] Multi-reactor architecture

Reza Lotun rlotun at gmail.com
Thu Nov 12 13:40:43 EST 2009

> How reverse proxy knows to balance between couple of twistd processes?
> Do you have may be an example(or doc link) of such proxy that can
> distributing connections to each twistd process?

This is a classic distributed systems architecture. A reverse proxy
can either something like haproxy, nginx, apache, perlbal or whatever
(even another twisted process). The twistd processes can be seen as
simply other machines on a LAN - instead they all have the<port> where the port is different for each process. I don't
have a more comprehensive example, but there are many many examples of
reverse proxying servers all over the place - google "nginx reverse
proxy" for many examples.

Hope that helps.


Reza Lotun
mobile: +44 (0)7521 310 763
email:  rlotun at gmail.com
work:   reza at tweetdeck.com
twitter: @rlotun

More information about the Twisted-Python mailing list