[bind10-dev] How to implement query counters in auth module?
Likun Zhang
zlkzhy at gmail.com
Mon Sep 20 01:52:29 UTC 2010
> >
> > Then the big question is how to make that run periodically, and perhaps
instead
> > of having a createMsg() make a sendStats() that does all the message
handling
> too...
This is a question, since you have to run it periodically for each module.
Another, how about 'get' approach? let stats module asks each other module
to get the statistical items every several seconds, that's also the passive
way other modules used now.
Last another, since statistical items of modules are different, I don't know
how stats plan to handle them now. My question is, if we want to add one new
statistical item for one module in the future, do we have to change stats'
code? Is there some way to avoid it?
> > Another question is whether we really want the statistics module to
respond to
> > this, we could also make it fire-and-forget (saving us the danger of
having the
> > auth module hang for [timeout] seconds if the statistics collector
disappeared)
Agree,
More information about the bind10-dev
mailing list