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: 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: Gelonida N , python-list@python.org Subject: Re: Looking for an IPC solution References: <50410AD6.7080003@shopzeus.com> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 >>> >> 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.