Re: simple and fast platform independent IPC

2010-02-04 Thread Paul Rubin
News123 writes: > Perhaps I'll stick initially with xmlrpc, as it is quite simple, > though a little heavy. I just have to see how to deal with servers > which are not up, no more up, being restarted. Something wrong wtih nagios? -- http://mail.python.org/mailman/listinfo/python-list

Re: simple and fast platform independent IPC

2010-02-03 Thread bobicanprogram
On Feb 3, 3:32 am, News123 wrote: > Hi, > > I wondered what IPC library might be best simplest for following task? > > I'm having a few python scripts all running on the same host (linux or > win), which are started manually in random order. (no common parent process) > Each process might be ident

Re: simple and fast platform independent IPC

2010-02-03 Thread News123
Hi Terry, Terry Reedy wrote: > > That aside, I would wonder whether you could use a master process with a > gui to haphazardly launch subprocess, so as to avail oneself of > multiprocessing.Queue. > T This is also an option I'm looking. insted of the python scripts, thet users would normally

Re: simple and fast platform independent IPC

2010-02-03 Thread News123
Tim Golden wrote: > >> Anyway, you have in mind that respect to speed: >> >> shared memory> named pipes> Unix domain socket> TCP socket > > True, but the OP didn't mention speed; rather simplicity. Not > saying it isn't a consideration but premature optimisation and > all that... > Yes true.

Re: simple and fast platform independent IPC

2010-02-03 Thread Terry Reedy
On 2/3/2010 6:31 AM, Joan Miller wrote: I've read that Pyro is not safe. That's a fairly broad thing to say. I've read lots of things. What does "is not safe" mean, in any case? I assume you've got a valid concern in mind which is worth passing on to a would-be user, but what exactly is it? FW

Re: simple and fast platform independent IPC

2010-02-03 Thread Paul Rubin
News123 writes: > I'm having a few python scripts all running on the same host (linux or > win), which are started manually in random order. (no common parent process) > Each process might be identified by an integer (1,2,3) or by a symbolic > name ( 'dad' , 'mom' , 'dog' ) If they are running on

Re: simple and fast platform independent IPC

2010-02-03 Thread Joan Miller
On 3 feb, 10:54, Tim Golden wrote: > [News123] > > >>> I wondered what IPC library might be best simplest for following task? > > ... > > >>> xmlrpc seems to be a little heavy for such tasks. > > >>> signals don't allow to exchange data > > >>> a shared memory message queue would probably a good s

Re: simple and fast platform independent IPC

2010-02-03 Thread Eden Kirin
On 03.02.2010 09:32, News123 wrote: Hi, I wondered what IPC library might be best simplest for following task? Consider using Thrift (http://incubator.apache.org/thrift/). It is multiplatform multilanguage RPC and IPC solution. I implemented it in couple of my projects and it works seamlessl

Re: simple and fast platform independent IPC

2010-02-03 Thread Tim Golden
[News123] I wondered what IPC library might be best simplest for following task? ... xmlrpc seems to be a little heavy for such tasks. signals don't allow to exchange data a shared memory message queue would probably a good solution, but python's Multiprocessing.Queue seems to require

Re: simple and fast platform independent IPC

2010-02-03 Thread News123
Hi Gabriel, I'll look at it. I wasn't aware about named pipes for windows. bye N Gabriel Genellina wrote: > En Wed, 03 Feb 2010 05:32:58 -0300, News123 escribió: > >> I'm having a few python scripts all running on the same host (linux or >> win), which are started manually in random order.

Re: simple and fast platform independent IPC

2010-02-03 Thread Joan Miller
On 3 feb, 09:34, Vinay Sajip wrote: > On Feb 3, 8:32 am, News123 wrote: > > > > > Hi, > > > I wondered what IPC library might be best simplest for following task? > > > I'm having a few python scripts all running on the same host (linux or > > win), which are started manually in random order. (no

Re: simple and fast platform independent IPC

2010-02-03 Thread Vinay Sajip
On Feb 3, 8:32 am, News123 wrote: > Hi, > > I wondered what IPC library might be best simplest for following task? > > I'm having a few python scripts all running on the same host (linux or > win), which are started manually in random order. (no common parent process) > Each process might be ident

Re: simple and fast platform independent IPC

2010-02-03 Thread Gabriel Genellina
En Wed, 03 Feb 2010 05:32:58 -0300, News123 escribió: I'm having a few python scripts all running on the same host (linux or win), which are started manually in random order. (no common parent process) Each process might be identified by an integer (1,2,3) or by a symbolic name ( 'dad' , 'mo

simple and fast platform independent IPC

2010-02-03 Thread News123
Hi, I wondered what IPC library might be best simplest for following task? I'm having a few python scripts all running on the same host (linux or win), which are started manually in random order. (no common parent process) Each process might be identified by an integer (1,2,3) or by a symbolic na