Project

General

Profile

Actions

Task #1199

closed

StatusServer

Added by Alex Afanasyev about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Management
Target version:
Start date:
03/09/2014
Due date:
% Done:

100%

Estimated time:
5.00 h

Description

Develop StatusServer that collects forwarder-level statistics, and provides them in response to ControlCommand.

The statistics provided by this module are forwarder-level statistics:

  • NFD version
  • start timestamp
  • current timestamp
  • current number of NameTree entries
  • current number of FIB entries
  • current number of PIT entries (regardless of whether it is pending or satisfied)
  • current number of Measurements entries
  • current number of CS entries
  • total number of incoming Interests since forwarder starts
  • total number of outgoing Interests since forwarder starts
  • total number of incoming Datas since forwarder starts
  • total number of outgoing Datas since forwarder starts

The StatusServer class does not provide:


Related issues 3 (0 open3 closed)

Related to NFD - Task #1328: nfd-status: plain text status commandClosedAlex Afanasyev

Actions
Blocked by NFD - Task #1316: Define NFD versionClosedJunxiao Shi03/01/2014

Actions
Blocked by NFD - Task #1345: Refine forwarding pipelinesClosedJunxiao Shi

Actions
Actions #1

Updated by Alex Afanasyev about 10 years ago

  • Parent task deleted (#1177)
Actions #2

Updated by Junxiao Shi about 10 years ago

  • Subject changed from Implementation of StatusServer to StatusServer
  • Estimated time set to 5.00 h
Actions #3

Updated by Junxiao Shi about 10 years ago

  • Description updated (diff)
Actions #4

Updated by Junxiao Shi about 10 years ago

20140211 conference call decides:

  • NFD version, start time point, current time point are necessary
  • statistics about forwarding and tables are useful but not required; which ones to include depend on cost of counter collection
Actions #5

Updated by Junxiao Shi about 10 years ago

  • Description updated (diff)
  • Assignee set to Junxiao Shi
Actions #6

Updated by Junxiao Shi about 10 years ago

  • Description updated (diff)
Actions #7

Updated by Junxiao Shi about 10 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Junxiao Shi about 10 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 20

I65ca4be685d3a9249488025813e00b9212e6abcc

Encoding and decoding functions are written for library, because they are shared between NFD and nfd-status.

Actions #9

Updated by Junxiao Shi about 10 years ago

  • Start date set to 03/09/2014
  • % Done changed from 20 to 40

I0664825d7b09b4e7e893876aefc5af10e53b90b1

Forwarder counters are defined (based on FaceCounters because they have same structure).

Pipelines increment counters.

This task is mainly blocked by #1152 which provides time::UtcPoint type that is needed for start timestamp and current timestamp fields.

Actions #10

Updated by Junxiao Shi about 10 years ago

  • Status changed from Code review to In Progress

20140315 conference call decides that this task can move forward by using boost::chrono type directly, instead of waiting for time::UtcPoint.

Actions #11

Updated by Junxiao Shi about 10 years ago

  • Status changed from In Progress to Code review
Actions #12

Updated by Junxiao Shi about 10 years ago

  • Status changed from Code review to In Progress

starting with the publisher in NFD

Actions #13

Updated by Junxiao Shi about 10 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 40 to 70

Idf2181dde857970f026e8147b60d09dea45007a1

Publisher code is uploaded as a draft.

I'll publish after I65ca4be685d3a9249488025813e00b9212e6abcc is merged.

Actions #14

Updated by Junxiao Shi about 10 years ago

  • Status changed from Resolved to Code review

I65ca4be685d3a9249488025813e00b9212e6abcc is merged, so the publisher is ready for review.

I did a basic test with ndn-tlv-peek.

Actions #15

Updated by Alex Afanasyev about 10 years ago

Is anything missing in this Task or we can close it?

Actions #16

Updated by Junxiao Shi about 10 years ago

  • Status changed from Code review to Closed
  • % Done changed from 70 to 100
Actions

Also available in: Atom PDF