Opened 2 years ago

Last modified 2 years ago

#22235 new enhancement

Add new graph showing the average onion service descriptor count per directory

Reported by: karsten Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Website Version:
Severity: Normal Keywords:
Cc: mikeperry, asn, dgoulet Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Mike asked me a while ago to make a graph showing the average onion service descriptor count per relay. This number could be extrapolated from the number of unique .onion addresses, the number of HSDir-flagged relays, and the information that each descriptor is stored on roughly six HSDir-flagged relays.

I made a sample graph that I'll attach to this ticket together with the code to make that graph.

Let's use this ticket to discuss whether such a graph would be useful to have on Tor Metrics, and if so, let's use it to write a useful description and work on a metrics-web patch.

Child Tickets

Attachments (3)

hidserv-descs-per-hsdir.png (34.3 KB) - added by karsten 2 years ago.
hidserv-descs-per-hsdir.R (795 bytes) - added by karsten 2 years ago.
hidserv-descs-per-hsdir.2.png (49.8 KB) - added by karsten 2 years ago.

Download all attachments as: .zip

Change History (9)

Changed 2 years ago by karsten

Attachment: hidserv-descs-per-hsdir.png added

Changed 2 years ago by karsten

Attachment: hidserv-descs-per-hsdir.R added

comment:1 Changed 2 years ago by karsten

Here's the sample graph I made a few weeks ago:


comment:2 Changed 2 years ago by arma

Maybe this graph should start in 2015? :)

comment:3 Changed 2 years ago by arma

Also, what are the units on this? Descriptors for unique onion addresses, per day? Meaning it spiked up to each hsdir handling descriptors for 200 distinct onion addresses per day?

Changed 2 years ago by karsten

comment:4 Changed 2 years ago by karsten

Heh, yes, this graph should start in 2015. I made all graphs for the same time period. If we put this graph on Tor Metrics, the time period would certainly be configurable. I'm updating the graph anyway.


Regarding your question about the unit, in retrospect, we might compute this number directly from reported hidserv statistics. After all, relays report to us how many distinct onion services they have seen throughout the day. No need to extrapolate that to the network total and divide by the number of HSDirs. We could compute this average directly. That would require some more code, but the result would be more accurate. I think.

comment:5 in reply to:  4 Changed 2 years ago by asn

Replying to karsten:

Regarding your question about the unit, in retrospect, we might compute this number directly from reported hidserv statistics. After all, relays report to us how many distinct onion services they have seen throughout the day. No need to extrapolate that to the network total and divide by the number of HSDirs. We could compute this average directly. That would require some more code, but the result would be more accurate. I think.

Yep agreed.

I like this graph. It might come useful in the future!

Note: See TracTickets for help on using tickets.