Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28195
| Date | 2012-08-31 23:10 +0200 |
|---|---|
| From | Laszlo Nagy <gandalf@shopzeus.com> |
| Subject | Re: Looking for an IPC solution |
| References | <mailman.9.1346440878.27098.python-list@python.org> <7x4nni23z9.fsf@ruckus.brouhaha.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14.1346447585.27098.python-list@python.org> (permalink) |
> Zeromq (suggested by someone) is an option since it's pretty fast for
> most purposes, but I don't think it uses shared memory.
Interesting question. The documentation says:
http://api.zeromq.org/2-1:zmq-ipc
The inter-process transport is currently only implemented on operating
systems that provide UNIX domain sockets.
(OFF: Would it be possible to add local IPC support for Windows using
mmap()? I have seen others doing it.)
At least, it is functional on Windows, and it excels on Linux. I just
need to make transports configureable. Good enough for me.
> The closest
> thing I can think of to what you're asking is MPI, intended for
> scientific computation. I don't know of general purpose IPC that uses
> it though I've thought it would be interesting. There are also some
> shared memory modules around, including POSH for shared objects, but
> they don't switch between memory and sockets AFAIK.
>
> Based on your description, maybe what you really want is Erlang, or
> something like it for Python. There would be more stuff to do than just
> supply an IPC library.
Yes, although I would really like to do this job in Python. I'm going to
make some tests with zeromq. If the speed is good for local
inter-process communication, then I'll give it a try.
Thanks,
Laszlo
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Looking for an IPC solution Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-31 21:04 +0200
Re: Looking for an IPC solution Marco Nawijn <nawijn@gmail.com> - 2012-08-31 13:25 -0700
Re: Looking for an IPC solution Marco Nawijn <nawijn@gmail.com> - 2012-08-31 13:25 -0700
Re: Looking for an IPC solution Paul Rubin <no.email@nospam.invalid> - 2012-08-31 13:36 -0700
Re: Looking for an IPC solution Laszlo Nagy <gandalf@shopzeus.com> - 2012-08-31 23:10 +0200
Re: Looking for an IPC solution Wolfgang Keller <feliphil@gmx.net> - 2012-09-01 14:55 +0200
Re: Looking for an IPC solution vasudevram <vasudevram@gmail.com> - 2012-09-03 14:43 -0700
Re: Looking for an IPC solution Laszlo Nagy <gandalf@shopzeus.com> - 2012-09-06 12:13 +0200
Re: Looking for an IPC solution Aaron Brady <castironpi@gmail.com> - 2012-09-01 19:10 -0700
Re: Looking for an IPC solution Laszlo Nagy <gandalf@shopzeus.com> - 2012-09-06 12:00 +0200
Re: Looking for an IPC solution Aaron Brady <castironpi@gmail.com> - 2012-09-01 19:10 -0700
csiph-web