Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.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.042 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'pypy': 0.07; 'friday,': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.10; 'help?': 0.16; 'structures,': 0.16; 'tier': 0.16; 'wrote:': 0.17; 'thanks,': 0.18; 'memory': 0.18; '(or': 0.18; 'windows': 0.19; '31,': 0.22; 'plus.': 0.22; 'cc:2**0': 0.23; 'somebody': 0.23; 'cc:no real name:2**0': 0.24; 'linux': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'core': 0.27; 'there.': 0.28; 'developing': 0.28; 'run': 0.28; "i'm": 0.29; 'e.g.': 0.30; 'system,': 0.32; 'running': 0.32; 'could': 0.32; 'times.': 0.33; 'hi,': 0.33; 'received:google.com': 0.34; 'server': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'ability': 0.36; 'serve': 0.36; 'but': 0.36; 'alone': 0.36; 'modules': 0.36; 'should': 0.36; 'does': 0.37; 'received:209': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'nothing': 0.38; 'short': 0.39; 'application': 0.40; 'most': 0.61; 'stand': 0.61; 'provide': 0.62; 'different': 0.63; 'more': 0.63; 'messaging': 0.65; 'august': 0.66; 'computers.': 0.84; 'multi-tier': 0.84; 'nagy': 0.84; 'clients,': 0.95 Newsgroups: comp.lang.python Date: Fri, 31 Aug 2012 13:25:11 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=80.101.84.34; posting-account=QNsEXgoAAABu_Avbf026MEK8WO7y27Mt References: User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 80.101.84.34 MIME-Version: 1.0 Subject: Re: Looking for an IPC solution From: Marco Nawijn To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org 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: , Message-ID: Lines: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346444715 news.xs4all.nl 6851 [2001:888:2000:d::a6]:59924 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28192 On Friday, August 31, 2012 9:22:00 PM UTC+2, Laszlo Nagy wrote: > 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. > > > > I have seen a stand alone cross platform IPC server before that could > > serve "channels", and send/receive messages using these channels. But I > > don't remember its name and now I cannot find it. Can somebody please help? > > > > Thanks, > > > > Laszlo Hi, Are you aware and have you considered zeromq (www.zeromq.org)? It does not provide a messaging system, but you could use things like simple strings (json) or more complicated things like Protobuf. Marco