[Twisted-Python] twistd, does it use processes? Anything to watch out for?

glyph at divmod.com glyph at divmod.com
Mon Sep 1 05:57:00 MDT 2008


On 07:53 am, gabriel.rossetti at arimaz.com wrote:
>Hello everyone,
>
>Just a little question about Twistd & the Application framework. I'm 
>using the service collection app mechanism
>and I was wondering how Twistd handles it. Is there anything special to 
>watch out for? Any differences in between running each server as a
>separate process (i.e. launching it from a diff term without twistd) 
>and with Twistd? Does it spawn a process for each Service/Server?

twistd runs all services in a single process.  In fact, twistd only runs 
one service.  Although that service may be a MultiService which contains 
other services, MultiService does not do anything special to run things 
in other processes either.




More information about the Twisted-Python mailing list