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


Groups > comp.lang.python > #28194

Re: Looking for an IPC solution

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'pypy': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'from:addr:pitrou.net': 0.16; 'from:addr:solipsis': 0.16; 'from:name:antoine pitrou': 0.16; 'message-id:@post.gmane.org': 0.16; 'module?': 0.16; 'received:213.41.240': 0.16; 'received:213.41.240.54': 0.16; 'received:80.91.229.3': 0.16; 'received:charlus.yi.org': 0.16; 'received:plane.gmane.org': 0.16; 'received:yi.org': 0.16; 'structures,': 0.16; 'tier': 0.16; 'memory': 0.18; '(or': 0.18; 'windows': 0.19; 'plus.': 0.22; 'linux': 0.24; 'header:User-Agent:1': 0.26; 'core': 0.27; 'there.': 0.28; 'developing': 0.28; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'writes:': 0.29; 'probably': 0.29; "i'm": 0.29; 'e.g.': 0.30; 'url:python': 0.32; 'running': 0.32; 'to:addr :python-list': 0.33; 'times.': 0.33; 'remote': 0.35; 'there': 0.35; 'received:org': 0.36; 'ability': 0.36; 'but': 0.36; 'url:org': 0.36; 'modules': 0.36; 'url:library': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'data': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'nothing': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'short': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'most': 0.61; 'different': 0.63; 'antoine.': 0.84; 'computers.': 0.84; 'multi-tier': 0.84; 'nagy': 0.84; 'url:pro': 0.84; 'processes,': 0.93; 'clients,': 0.95
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Antoine Pitrou <solipsis@pitrou.net>
Subject Re: Looking for an IPC solution
Date Fri, 31 Aug 2012 21:05:27 +0000 (UTC)
References <50410AD6.7080003@shopzeus.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host sea.gmane.org
User-Agent Loom/3.14 (http://gmane.org/)
X-Loom-IP 213.41.240.54 (Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0)
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.13.1346447144.27098.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346447144 news.xs4all.nl 6914 [2001:888:2000:d::a6]:41523
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28194

Show key headers only | View raw


Laszlo Nagy <gandalf <at> shopzeus.com> writes:

> 
> There are just so many IPC modules out there. I'm looking for a solution 
> for developing a new a multi-tier application. The core application will 
> be running on a single computer, so the IPC should be using shared 
> memory (or mmap) and have very short response times. But there will be a 
> tier that will hold application state for clients, and there will be 
> lots of clients. So that tier needs to go to different computers. E.g. 
> the same IPC should also be accessed over TCP/IP. Most messages will be 
> simple data structures, nothing complicated. The ability to run on PyPy 
> would, and also to run on both Windows and Linux would be a plus.

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

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net

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


Thread

Re: Looking for an IPC solution Antoine Pitrou <solipsis@pitrou.net> - 2012-08-31 21:05 +0000

csiph-web