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


Groups > comp.lang.python > #40066

Re: "Daemonizing" an application.

Newsgroups comp.lang.python
Date 2013-02-27 06:52 -0800
References <3e4921b7-fde3-4de7-ab01-1c98ddf63363@googlegroups.com> <mailman.2620.1361973348.2939.python-list@python.org>
Subject Re: "Daemonizing" an application.
From Gilles Lenfant <gilles.lenfant@gmail.com>
Message-ID <mailman.2623.1361976742.2939.python-list@python.org> (permalink)

Show all headers | 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