BIND 10 #2179: Update Stats to support differential statistics updates

BIND 10 Development do-not-reply at isc.org
Fri Aug 24 02:24:05 UTC 2012


#2179: Update Stats to support differential statistics updates
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:  UnAssigned
  naokikambe                         |                Status:  reviewing
                       Type:         |             Milestone:
  enhancement                        |  Sprint-20120904
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  statistics                         |  Estimated Difficulty:  8
                   Keywords:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by naokikambe):

 Replying to [comment:6 jinmei]:
 > I'm assuming it's better to review this ticket once #2136 is
 > completed.
 I agree.

 > BTW, I guess this is the stats counterpart of #2196.  If so, I suspect
 > we should discuss what we should actually do about the "differential"
 > thing before proceeding to the actual implementation/review.  As
 > briefly discussed in #2196 the proposed behavior doesn't make much
 > sense to me.  Michal seems to have the same/similar concern.

 Strictly speaking, #2179 isn't a counterpart of #2196. #2179 matches with
 StatsModule but #2196 doesn't. "differential" in #2179 might exactly mean
 "partial". The current stats module can accept a part of statistics items.
 Thus, the target module, e.g. auth module, doesn't always need to return
 complete statistics items.

 "differential" in #2196 means real "differential". When the auth module
 returns a counter by the "getstats_delta" command, then it reset it to
 zero. The current stats module cannot accept such a relative value.
 However two commands were implemented on #2196. The first one "getstats"
 returns absolute values of full statistics items. The second one
 "getstats_delta" returns relative values of partial statistics items.

 IMO, "getstats" of #2196 should return absolute values of partial
 statistics items. "getstats_delta" is not needed for the current stats
 module yet. Implementing the stats module for supporting  a real
 "differential" update would be done after the end of Sept. because of the
 complexity.

 BTW, #2158 uses a part of codes of #2179. #2158 cannot be merged unless
 #2179 is merged.

 Regards,

-- 
Ticket URL: <http://bind10.isc.org/ticket/2179#comment:7>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list