[Twisted-Python] Processpool recommendation (for scaling to multiple CPUs)

Attila Nagy bra at fsn.hu
Wed May 27 11:28:40 EDT 2009


glyph at divmod.com wrote:
> On 08:21 pm, bra at fsn.hu wrote:
>   
>> I've got some CPU scalability issues (the application became CPU bound,
>> but there are a lot more CPUs, which can't be used because of the
>> uniprocess nature), threading is not a solution, so the next logical
>> move could be starting multiple twisted reactors in different processes
>> and transparently switching incoming connections between them.
>> There is no need for intra-process communication, I need only a thing,
>> which does the process starting/stopping, connection multiplexing in a
>> clean way.
>>     
>
> Have you looked at Ampoule?  https://launchpad.net/ampoule/
>   
Wasn't aware of that.
Will do, thanks!




More information about the Twisted-Python mailing list