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


Groups > comp.lang.python > #40066

Re: "Daemonizing" an application.

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 <gilles.lenfant@gmail.com>
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 <mailman.2620.1361973348.2939.python-list@python.org>
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> <mailman.2620.1361973348.2939.python-list@python.org>
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 <gilles.lenfant@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc Gilles Lenfant <gilles.lenfant@gmail.com>, 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 <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>
Message-ID <mailman.2623.1361976742.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


Le mercredi 27 février 2013 14:55:42 UTC+1, Tarek Ziadé a écrit :
> On 2/27/13 11:52 AM, Gilles Lenfant wrote:
> 
> > Hello,

[...]

> 
> > Thanks in advance fo any pointer.
> 
> >
> 
> You can have a look at Circus - https://circus.readthedocs.org which is 
> 
> a process manager.
> 
> 
> 
> "circusctl" is used to control "circusd" using ZeroMQ
> 
> 
> 
> The nice thing about zmq as opposed to signals is that you can code your 
> 
> thing independantly from the transport
> 
> then choose which transport fits a situation: TPC (then the ctl can be 
> 
> on another box), IPC or even ITC
> 
> 
> 
> 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 app already chat with each other using the great ZeroMQ power sockets. And can potentially be powered in as many physical servers since the shared persistent 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
-- 
Gilles

> 
> 
> 
> Cheers
> 
> Tarek
> 
> 
> 
> -- 
> 
> Tarek Ziadé · http://ziade.org · @tarek_ziade

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


Thread

"Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 02:52 -0800
  Re: "Daemonizing" an application. Chris Angelico <rosuav@gmail.com> - 2013-02-27 22:03 +1100
  Re: "Daemonizing" an application. Werner Thie <werner@thieprojects.ch> - 2013-02-27 12:08 +0100
  Re: "Daemonizing" an application. Sven <svenito@gmail.com> - 2013-02-27 11:15 +0000
  Re: "Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 05:06 -0800
    Re: "Daemonizing" an application. Chris Angelico <rosuav@gmail.com> - 2013-02-28 00:21 +1100
    Re: "Daemonizing" an application. "Vytas D." <vytasd2013@gmail.com> - 2013-02-27 13:46 +0000
  Re: "Daemonizing" an application. Tarek Ziadé <tarek@ziade.org> - 2013-02-27 14:55 +0100
    Re: "Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 06:52 -0800
    Re: "Daemonizing" an application. Gilles Lenfant <gilles.lenfant@gmail.com> - 2013-02-27 06:52 -0800
  Re: "Daemonizing" an application. Tarek Ziadé <tarek@ziade.org> - 2013-02-27 15:00 +0100

csiph-web