Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28568

Re: Looking for an IPC solution

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; '(at': 0.03; 'postgresql': 0.07; 'emulates': 0.09; 'mem': 0.09; 'thread': 0.11; "(i'm": 0.16; 'expert,': 0.16; 'module?': 0.16; 'posix': 0.16; 'section.': 0.17; '>>>': 0.18; 'memory': 0.18; 'windows': 0.19; 'module': 0.19; 'to:2**1': 0.23; 'least': 0.25; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'probably': 0.29; 'compatible': 0.30; 'point': 0.31; 'url:python': 0.32; 'etc.)': 0.32; 'could': 0.32; 'instead,': 0.33; 'to:addr:python-list': 0.33; 'version': 0.34; 'list': 0.35; 'exist': 0.35; 'faster': 0.35; 'remote': 0.35; 'too.': 0.35; 'but': 0.36; 'wanted': 0.36; 'url:org': 0.36; 'url:library': 0.36; "i'll": 0.36; 'skip:p 20': 0.36; 'does': 0.37; 'uses': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'most': 0.61; 'times': 0.63; 'received:204': 0.72; 'windows)': 0.84; 'processes,': 0.93
Date Thu, 06 Sep 2012 12:04:21 +0200
From Laszlo Nagy <gandalf@shopzeus.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0
MIME-Version 1.0
To Gelonida N <gelonida@gmail.com>, python-list@python.org
Subject Re: Looking for an IPC solution
References <50410AD6.7080003@shopzeus.com> <loom.20120831T230411-646@post.gmane.org> <k29q6e$90m$2@ger.gmane.org>
In-Reply-To <k29q6e$90m$2@ger.gmane.org>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.286.1346925867.27098.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346925867 news.xs4all.nl 6869 [2001:888:2000:d::a6]:47681
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28568

Show key headers only | View raw


>>>
>> How about the standard multiprocessing module? It supports shared
>> memory, remote processes, and will most probably work under PyPy:
>> http://docs.python.org/library/multiprocessing.html
>>
> I always thought, that the multiprocessing module does NOT use shared
> memory (at least not under windows)
It uses mmap() under windows. (I'm not an expert, but this is what I was 
said by others.) I did not know that multiprocessing can be used over 
TCP/IP. :) Probably I'll use zmq instead, because it has other nice 
features (auto reconnect, publisher/subscriber, multicast etc.)
>
> I would be very interested in a cross platform shared mem solution for
> python.
> Could you please point me to the right section.
>
>
As far as I know, POSIX compatible shared memory does not exist on 
Windows. I remember a thread about this on the PostgreSQL mailing list - 
the Windows version of PostgreSQL somehow emulates shared memory too. I 
wanted to use shared memory because response times are much faster than 
TCP/IP.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Looking for an IPC solution Laszlo Nagy <gandalf@shopzeus.com> - 2012-09-06 12:04 +0200

csiph-web