[bind10-dev] Question about statistics incremental update

fujiwara at jprs.co.jp fujiwara at jprs.co.jp
Wed Oct 10 10:33:24 UTC 2012


> From: Naoki Kambe <kambe at jprs.co.jp>
>> (If Option 1 is selected at Question 1)
>> Question 2: How to distinct increment or counter ?
>> 
>> * Option 2: add "integer_incremental" to values of "item_type".
>>             pros: It does not increase type names and easy to implement.
>>             cons: It can be used anywhere and it is useless.

> I propose another option at this question. What's about introducing
> "counter" type like data type in SNMP into "item_type"?
> 
> "Counter" type is defined in SNMP SMIv1 :
> http://tools.ietf.org/html/rfc1155#section-3.2.3.3

This proposal is similar to option 2.

> From: "Michal 'vorner' Vaner" <michal.vaner at nic.cz>
> It might be an elegant solution, but we should be careful there:

the same comment is already pointed.
>>             pros: It does not increase type names and easy to implement.

>  • How does the „counter“ type work outside of statisticts?
>  • 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++.


we need to write codes for Python and C++ to implement option 1,
option 2 and this proposal.

-- 
Kazunori Fujiwara, JPRS <fujiwara at jprs.co.jp>


More information about the bind10-dev mailing list