[bind10-dev] Question about statistics incremental update
Naoki Kambe
kambe at jprs.co.jp
Wed Oct 10 08:12:56 UTC 2012
Hello,
From: "Michal 'vorner' Vaner" <michal.vaner at nic.cz>
Date: Wed, 10 Oct 2012 09:17:21 +0200
> It might be an elegant solution, but we should be careful there:
Yes, we should consider deeply. I think this could be one of the
solutions but I don't know whether this way is the best.:)
> • How does the „counter“ type work outside of statisticts?
I cannot image this type works outside of statistics, e.g. in
configuration or command. We might have to make usage limited inside
of statistics.
> • Also, the change to do this would be quite deep, it would go down to our JSON
> validator, which is complex and implemented twice, once in Python, once in
> C++.
I'm sure we already have both variants for statistics validation. At
this point I don't think there would be much difference between
introducing another attribute and updating the existing attribute. If
we choose this option, we might need to check the value is
non-negative integer on the existing integer check. If we introduce
another attribute (if we don't choose this option), we might need to
consider about combination between its value and the value of an
existing attribute.
However we need to tell to the stats daemon whether a value is
absolute or relative by some way.
Regards,
Naoki Kambe
More information about the bind10-dev
mailing list