Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #4294

Closed (moved)
Open
Opened Oct 24, 2011 by Karsten Loesing@karsten

Add percentiles of bridge descriptor downloads by fingerprint to served-descs-stats

Sebastian and I discussed Tonga's statistics about served bridge descriptors:

served-descs-stats-end 2011-10-23 23:03:31 (86400 s) total=515010 unique=3766

We suspect that Tonga also serves and counts relay descriptors here. There are only 1665 unique bridge fingerprints in descriptors published since 2011-10-20, so these can't just be bridge descriptors. Also, the total number of 515K descriptor fetches is much higher than expected.

Sebastian works on a patch to exclude fetches for relay descriptors to only count bridge descriptors. But we wonder if two numbers are enough to explain what's going on.

I suggest to include a few percentiles of downloaded descriptors per unique bridge fingerprint in the statistics. The output could be (example data):

served-descs-stats-end 2011-10-23 23:03:31 (86400 s) total=515010 unique=3766 max=12095 q3=1752 md=498 q1=112 min=5

There are two necessary changes to the implementation:

  1. The digestmap needs to store a pointer to an integer counting the downloaded descriptors by bridge fingerprint.

  2. When formatting the server descriptor stats, we need to add all counters to a (smart?)list, sort the list, and write list[0], list[length/4], list[length/2], list[3*length/4], and list[length-1] to the output string.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#4294