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

glyph at divmod.com glyph at divmod.com
Sun May 24 15:46:39 MDT 2009


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/




More information about the Twisted-Python mailing list