Re: event driven daemon

2016-11-23 Thread Bruce Ferrell
I've used the POE module family to do event daemons On 11/23/2016 03:55 PM, Chris Fedde wrote: It might not be too bad an idea to just use processes rather than getting wrapped up in event loops and asynch IO. Forking is cheap and fast in linux. In my opinion it gets overlooked for many cases

Re: event driven daemon

2016-11-23 Thread Chris Fedde
It might not be too bad an idea to just use processes rather than getting wrapped up in event loops and asynch IO. Forking is cheap and fast in linux. In my opinion it gets overlooked for many cases where it is a perfectly acceptable approach. There are lots of approaches to work queues. The mai

Re: event driven daemon

2016-11-23 Thread Gary Stainburn
On Wednesday 23 November 2016 14:05:40 Shlomi Fish wrote: > Aside from named pipes there are also unix-domain sockets and TCP sockets, > both of which are more robust. The closest thing I've got to IPC is writing an xinetd service, which I then called from perl scripts using Net::Telnet. IPC is

Re: event driven daemon

2016-11-23 Thread Shlomi Fish
Hi Gary, On Tue, 22 Nov 2016 10:25:25 + Gary Stainburn wrote: > This is a request for opinions rather than an answer to a problem. > > I'm looking to write a daemon that can sit on my Domoticz (home automation) > server and can respond to Domoticz events and can receive commands to run >