Re: dependant services

2015-06-08 Thread Avery Payne
On 6/8/2015 10:44 AM, Steve Litt wrote: Just so we're all on the same page, am I correct that the subject of your response here is *not* socket activation, the awesome and wonderful feature of systemd. You're simply talking about a service opening its socket before it's ready to exchange

Re: dependant services

2015-06-08 Thread Laurent Bercot
On 08/06/2015 16:00, Avery Payne wrote: This is where I've resisted using sockets. Not because they are bad - they are not. I've resisted because they are difficult to make 100% portable between environments. Let me explain. I have trouble understanding several points of your message. -

Re: dependant services

2015-06-08 Thread Jonathan de Boyne Pollard
Laurent Bercot wrote: If all this fuss is about socket activation, then you can simply forget it altogether. Jonathan was simply mentioning socket activation as an alternative to real dependency management, as in that's what some people do. I don't think he implied it was a good idea. Only

Re: dependant services

2015-06-08 Thread Laurent Bercot
On 08/06/2015 22:40, Jonathan de Boyne Pollard wrote: As to whether opening server sockets early is a good idea: I'm not in a hurry to naysay. It achieves the stated effect. Arguably, indeed, it can be described as *what the system already does* if one has a lot of daemontools-style services

Re: dependant services

2015-06-08 Thread Steve Litt
On Mon, 08 Jun 2015 21:08:38 +0100 Jonathan de Boyne Pollard j.deboynepollard-newsgro...@ntlworld.com wrote: The systemd dictum is that to truly take advantage of parallel startup, one eliminates orderings as far as possible. Which is where socket activation comes in. Part of socket

Re: dependant services

2015-06-08 Thread Avery Payne
On 6/8/2015 2:15 PM, Steve Litt wrote: I'm not familiar with inetd. Using sockets to activate what? In what manner? Whose socket? ~ ~ ~ Let's go back in time a little bit. The year is 1996, I'm downstairs literally in my basement with my creaky old 486 with 16Mb of RAM and I'm trying to

Re: dependant services

2015-06-08 Thread Avery Payne
On 5/14/2015 3:25 PM, Jonathan de Boyne Pollard wrote: The most widespread general purpose practice for breaking (i.e. avoiding) this kind of ordering is of course opening server sockets early. Client and server then don't need to be so strongly ordered. This is where I've resisted using