[Twisted-Python] newbie question: is twisted right for my app?

radix at twistedmatrix.com radix at twistedmatrix.com
Tue Aug 29 15:37:47 EDT 2006


On 07:12 pm, rspringob at vmware.com wrote:
>I am designing a scheduling system and am wondering if twister is the right
>tool for the job. The typical model is to have a server answering many
>clients. I am looking at the inverse of having a solitary dispatcher (client)
>contact many different hosts (servers) in order to pass them a job.   Looking
>at the examples in the documentation, it looks like the normal procedure is
>to have one persistent connection per reactor. Am I trying to do a bad thing
>with twister?

No, Twiste*d* lets you use multiple connections with the same reactor; in fact, you can only have one reactor instance in your program. The reactor is an event loop; it handles many event sources at once.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20060829/075ae721/attachment.htm 


More information about the Twisted-Python mailing list