[bind10-dev] How to implement query counters in auth module?

Naoki Kambe kambe at jprs.co.jp
Tue Sep 21 10:29:35 UTC 2010


Sorry for my late response.

From: Naoki Kambe <kambe at jprs.co.jp>
Date: Fri, 17 Sep 2010 15:46:03 +0900 (JST)
> I'll create another new ticket for a statistics implement in auth
> module.
I created #347 for this now. Please see it.

Followings are my own answeres:

From: "Likun Zhang" <zlkzhy at gmail.com>
Date: Mon, 20 Sep 2010 09:52:29 +0800
> 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.

This might be inappropriate answer. Stats module is only waiting for
other modules sending. Stats doesn't ask other modules passively.

> 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?

I don't have good ideas about this now. But to add new items we only
edit stats spec file where statistics items are defined. But in some
cases we may have to change codes of stats.

Naoki Kambe



More information about the bind10-dev mailing list