[Twisted-Python] Multi-reactor architecture

vitaly at synapticvision.com vitaly at synapticvision.com
Thu Nov 12 13:53:54 EST 2009


You right, distributed systems architecture.

Probably I need to rephrase my question more precisely: how to build  
distributed system architecture with Twisted technology only ?

As you mentioned, even reverse proxy could be a another twisted process.

Quoting "Reza Lotun" <rlotun at gmail.com>:

>> 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
> 127.0.0.1:<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
>
> --
> Reza Lotun
> mobile: +44 (0)7521 310 763
> email:  rlotun at gmail.com
> work:   reza at tweetdeck.com
> twitter: @rlotun
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>





More information about the Twisted-Python mailing list