[bind10-dev] Resend: Re: proposed system design and inter-process protocol for shared memory

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Tue Mar 12 07:26:13 UTC 2013


At Thu, 7 Mar 2013 09:49:00 +0100,
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:

> > - how can msgq/manager/consumers distinguish them?  In particular, how
> >   can the manager distinguish individual consumers?
> 
> Each connection to msgq has a unique address, the l-name in its terminology (I
> don't know where that comes from). We use it to answer answers directly to the
> originator of command. It is in the from header of each message. Nothing stops
> us store the l-name as the identification of a consumer and direct messages to
> it (so you would specify the „to“ parameter of the message when doing
> groupSendMsg instead of leaving it to default „*“).

So are you intending to use a (separate?) CC session directly, instead
of the module CC session API?  (The latter currently doesn't provide
information like "l-name").  Also, how can a module (in practice, a
"consumer") knows if the sender is the manager or a consumer?  lname
doesn't have that information, so, without some extension, I suspect a
module cannot determine when it's notified of a departure of some
other module on the "channel" whether it's the manager (so it may have
to do something) or other consumer (in which case a mere consume can
simply ignore it).

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.


More information about the bind10-dev mailing list