This ticket came out of the solution for #2709 (moved).
One of our original goals with the "uptime > 24 hours" constraint for hsdir flag assignment was to make sure that the hsdir flag assignment was quite robust over time: a hidden service needs to store its descriptor in the place that a client will fetch it hours later.
Uptime is quite monotonic -- for a relay that stays up. How monotonic is the rephist-calculated uptime?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I've attached the 2011 portion of the hsdir-set-instability intermediate output file from my task-2649 analysis to this ticket so other people can view the graph interactively with gnuplot more easily.
Based on a zoomed-in view of 2011-04-25 through 2011-05-21 (when I downloaded the consensus tarball for May), instability in the HSDir set (as a fraction of the size of the set) fluctuates on a 24-hour cycle, and that cycle's amplitude increased significantly around 2011-04-28.
See [hsdir-set-absolute-instability-graph.pdf hsdir-set-absolute-instability-graph.pdf] for a graph of the unscaled instability of the HSDir set; see task-2714 ( git://git.torproject.org/rransom/metrics-tasks.git task-2714 ) for sources.
David: you've been gaining some intuition about this topic lately from the hs health measurer. Did you get any closer to answering this ticket? Are there specific queries we could make to the consensus documents to answer it?
Some basic conclusion out of #13209 (moved) experiment. A client getting the latest consensus at every hour, the churn rate was less than 3% and that was only one single HSDir would change out of the set of 6 in that hour. But it never happened over almost a year of running the HS health that a service descriptor was not found in the set.
However, this is not really representing reality as clients have different consensuses and not only the latest one... See #13209 (moved) for more information on the issues of this experiment.
Sooooo we can keep that thing opened forever or flag it that "OK, HSDir so far aren't moving around much as we observed and we are happy with this". We should try to measure this a bit better with a "v2.0" of #13209 (moved) so we can overtime measure it and act accordingly if shit hit the fan. We already have some good ticket going on about improving stability of HSDir flag and raising the bar as well so those relays stop snooping on .onion (#19162 (moved)).
I'm closing this ticket and we'll re-open a new one if we think that it's becoming an issue at some point.
Trac: Resolution: N/Ato fixed Reviewer: N/AtoN/A Sponsor: N/AtoN/A Keywords: N/Adeleted, tor-hs added Severity: N/Ato Normal Status: new to closed