Ipc mechanisms and designs.
Nikita the Spider
NikitaTheSpider at gmail.com
Fri Aug 10 15:33:12 EDT 2007
In article <1186760055.658942.116300 at x40g2000prg.googlegroups.com>,
king kikapu <aboudouvas at panafonet.gr> wrote:
> Hi,
>
> inspired of the topic "The Future of Python Threading", i started to
> realize that the only way to utilize the power of multiple cores using
> Python, is spawn processes and "communicate" with them.
>
> If we have the scenario:
>
> 1. Windows (mainly) development
> 2. Processes are running in the same machine
> 3. We just want to "pass" info from one process to another. Info may
> be simple data types or user defined Python objects.
>
> what is the best solution (besides sockets) that someone can implement
> so to have 2 actually processes that interchanged data between them ?
> I looked at Pyro and it looks really good but i wanted to experiment
> with a simpler solution.
Hi King Kikapu
There's a shared memory module for Python, but it is *nix only, I'm
afraid. I realize you said "mainly Windows" but this module seems to do
what you want so maybe you can work out a creative solution.
http://NikitaTheSpider.com/python/shm/
Good luck with whatever you choose
--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
More information about the Python-list
mailing list