[Twisted-Python] Multi-reactor architecture

vitaly at synapticvision.com vitaly at synapticvision.com
Fri Nov 13 10:59:15 EST 2009

Doesn't the event loop have a limit of connections it could handle?

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

>> hi,
>> what would be the right thing to start from in order to build
>> multi-reactor arch to handle thousands of concurrent connections?
> Why would you want multiple reactors? The only reason would be to have
> one per CPU core. For that the simplest thing would be to manually
> start n twistd processes, one per core and have a reverse proxy
> process listening on a port and distributing connections to each
> twistd process. Of course, you can extend this architecture to
> multiple machines.
> Cheers,
> 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