[Twisted-Python] Shared memory for multiple twisted servers

glyph at divmod.com glyph at divmod.com
Wed Oct 29 03:02:40 EDT 2008


On 06:40 am, matusis at yahoo.com wrote:
>I am thinking of writing 8 identical twisted servers that would run on 
>an 8
>core machine and would have shared memory objects (lists or maybe
>dictionaries), that they can all access and modify. Perhaps somewhat 
>similar
>to multiprocessing module in python 2.6.
>
>What is the best way of doing this?

You might consider having a look at this:

    https://launchpad.net/ampoule

I haven't personally gotten to use it yet, but I've been following its 
development with great interest.  Assuming it does what it says on the 
tin, I think it is likely to be folded in to Twisted proper at some 
point.




More information about the Twisted-Python mailing list