[Twisted-Python] twistd, does it use processes? Anything to watch out for?
Gabriel Rossetti
gabriel.rossetti at arimaz.com
Tue Sep 2 02:22:22 EDT 2008
glyph at divmod.com wrote:
> 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.
>
>
Ok, thank you.
Gabriel
More information about the Twisted-Python
mailing list