Actions
Feature #4720
closedGlobal counter for satisfied/unsatisfied Interests
Description
Add two counters to ForwarderStatus's GeneralStatus
dataset:
- number of satisfied Interests, incremented when a PIT entry that has been satisfied is being removed
- number of unsatisfied Interests, incremented when a PIT entry that has not been satisfied is being removed
These are global forwarder counters, not per-face counters.
Updated by Davide Pesavento over 6 years ago
Beichuan asked for this feature during the 2018-08-20 NDN Platform call.
The definition of "unsatisfied Interest" needs to be clarified. Does it include currently pending Interests or not? Does it include Nacked Interests or only timeouts?
Updated by Junxiao Shi about 6 years ago
- Subject changed from Add global counter for the number of unsatisfied Interests to Global counter for satisfied/unsatisfied Interests
- Description updated (diff)
- Assignee set to Sepehr Abdous
- Target version set to v0.7
- Estimated time set to 4.50 h
Developer should follow these steps:
- Define protocol on ForwarderStatus wiki page. Get it approved in NFD call.
- Add the fields in
ndn::nfd::ForwarderStatus
type. - Declare two
PacketCounter
s innfd::ForwarderCounters
struct. - Increment either counter in
Forwarder::onInterestFinalize
function. - Assign counter values in
ForwarderStatusManager::collectGeneralStatus
, and update test cases. Step 3-5 belong to the same commit. - Display counter values in
nfdc status
command output, and update test cases. - Display counter values in status http page. Step 6-7 belong to the same commit.
If you haven't already, review all articles in NFD wiki "HOWTOs for n00bs" section.
Updated by Sepehr Abdous about 6 years ago
- Status changed from New to In Progress
Updated by Davide Pesavento about 6 years ago
Junxiao Shi wrote:
Display counter values in status http page. Step 6-7 belong to the same commit.
And don't forget to update nfd-status.xsd in that commit.
Updated by Davide Pesavento about 6 years ago
- Status changed from In Progress to New
- Assignee deleted (
Sepehr Abdous) - Target version deleted (
v0.7)
Updated by Ju Pan about 6 years ago
- Status changed from New to In Progress
- Assignee set to Ju Pan
Updated by Davide Pesavento about 6 years ago
- Status changed from In Progress to Code review
- Target version set to v0.7
Updated by Davide Pesavento about 6 years ago
- Status changed from Code review to Closed
- % Done changed from 70 to 100
Actions