[bind10-dev] Boss stopping msgq enhancements (#2249)

Shane Kerr shane at isc.org
Wed Oct 24 11:19:46 UTC 2012


Michal,

Hm... I'm quite late in replying, but better than never!

On Tuesday, 2012-10-09 19:45:40 +0200, 
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:
> Hiding the problem under the rug
> ================================
> 
> Increase the time before sending SIGTERMs to stuff.

I hate waiting any time. Boo!!!

> The ugly and fast way
> =====================
> 
> We add a special case for msgq.

While I agree hacks should be avoided, this seems reasonable as a quick
and easy fix for the immediate problem.

> Semi-manual way
> ===============
> We could make sure the shutdown „plan of action“ is ordered by the
> priority too.

This one seems like a lot of work, and less sexy than the next one...

> Dependency tracking
> ===================
> 
> If we lived in a perfect world, we would implement this. Each
> component would know a list of other components it needs. When all
> the dependencies are started, it can start. The admin could enable
> one component and all the ones it depends on would get started
> automatically. When shutting down, it would start with the ones
> nothing depends on and continue this way.
> 
> However, it seems to be the most advanced one too. It would need more
> or less a complete overhaul of boss.

Clearly we need to embed a Prolog engine in the boss for this kind of
functionality.

http://yieldprolog.sourceforge.net/

:)

Seriously, I think this makes sense as a long-term goal. Perhaps
something for a fun student project?

Cheers,

--
Shane
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20121024/edf7150a/attachment.bin>


More information about the bind10-dev mailing list