Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'tarek': 0.07; 'portable': 0.09; 'sockets': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'advance': 0.10; 'fits': 0.16; 'gilles': 0.16; 'sqlalchemy': 0.16; 'stuff.': 0.16; 'tarek,': 0.16; 'url:ziade': 0.16; 'ziad\xe9': 0.16; 'wrote:': 0.17; 'app': 0.19; 'cheers': 0.24; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'cc:addr:gmail.com': 0.27; 'opposed': 0.27; 'pointer.': 0.29; 'code': 0.31; 'monitor': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'too.': 0.35; 'received:209.85': 0.35; 'url:org': 0.36; 'subject:" ': 0.36; 'should': 0.36; 'too': 0.36; 'received:209': 0.37; 'data': 0.37; 'hello,': 0.39; 'your': 0.60; 'great': 0.64; 'choose': 0.65; 'potentially': 0.66; 'physical': 0.69; 'power': 0.74; '2013': 0.84; 'itc': 0.84 X-Received: by 10.49.24.109 with SMTP id t13mr184279qef.19.1361976738545; Wed, 27 Feb 2013 06:52:18 -0800 (PST) Newsgroups: comp.lang.python Date: Wed, 27 Feb 2013 06:52:18 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=80.118.139.190; posting-account=cFJE0AoAAAAjdKXbacj0inC6Y3kUg5L7 References: <3e4921b7-fde3-4de7-ab01-1c98ddf63363@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 80.118.139.190 MIME-Version: 1.0 Subject: Re: "Daemonizing" an application. From: Gilles Lenfant To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Gilles Lenfant , 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: 63 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1361976742 news.xs4all.nl 6933 [2001:888:2000:d::a6]:49344 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40066 Le mercredi 27 f=E9vrier 2013 14:55:42 UTC+1, Tarek Ziad=E9 a =E9crit=A0: > On 2/27/13 11:52 AM, Gilles Lenfant wrote: >=20 > > Hello, [...] >=20 > > Thanks in advance fo any pointer. >=20 > > >=20 > You can have a look at Circus - https://circus.readthedocs.org which is= =20 >=20 > a process manager. >=20 >=20 >=20 > "circusctl" is used to control "circusd" using ZeroMQ >=20 >=20 >=20 > The nice thing about zmq as opposed to signals is that you can code your= =20 >=20 > thing independantly from the transport >=20 > then choose which transport fits a situation: TPC (then the ctl can be=20 >=20 > on another box), IPC or even ITC >=20 >=20 >=20 > That also means your ctl part can be portable to any platform Hi Tarek, Great stuff. Exactly what I was looking for. The various processes of my ap= p already chat with each other using the great ZeroMQ power sockets. And ca= n potentially be powered in as many physical servers since the shared persi= stent data are provided through SQLAlchemy + eXist-db. I can read that Circus can monitor sockets too. Should I understand that I = can monitor the state of ZMQ listening sockets with Circus too ? Cheers --=20 Gilles >=20 >=20 >=20 > Cheers >=20 > Tarek >=20 >=20 >=20 > --=20 >=20 > Tarek Ziad=E9 =B7 http://ziade.org =B7 @tarek_ziade