[Twisted-Python] Multi-reactor architecture
vitaly at synapticvision.com
vitaly at synapticvision.com
Fri Nov 13 09:44:06 MST 2009
I've get confused enough already :-))
Once there is a Site that serving many clients and
reactor.listenSSL(), for example, that actually serving many TCP
connections and all these going through TwistedGateway, my logic,
please correct me if I wrong, says at some point there will be a limit
on concurrent TCP connections, so how is it solved with Twisted?
Quoting exarkun at twistedmatrix.com:
> On 03:59 pm, vitaly at synapticvision.com wrote:
>>
>> Doesn't the event loop have a limit of connections it could handle?
>
> Multiple reactors isn't a realistic solution to this. The solution is
> to switch to an event loop that has a higher limit. "The" event loop is
> actually a choice of many possible event loops.
>
> So connection limits aren't a good reason to want multiple reactors.
>
> Jean-Paul
>
> _______________________________________________
> 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