Browse Source

r12760@Kushana: nickm | 2007-04-20 11:23:21 -0400
Describe a simpler implementation for proposal 108, and note some limitations in the proposal.


svn:r9993

Nick Mathewson 18 years ago
parent
commit
671b990f51
1 changed files with 19 additions and 4 deletions
  1. 19 4
      doc/spec/proposals/108-mtbf-based-stability.txt

+ 19 - 4
doc/spec/proposals/108-mtbf-based-stability.txt

@@ -23,17 +23,17 @@ Spec changes:
 
 
    Replace the current rule for setting the Stable flag with:
    Replace the current rule for setting the Stable flag with:
 
 
-   "Stable" -- A router is 'Stable' if it is active and its observed MTBF
+   "Stable" -- A router is 'Stable' if it is active and its observed Stability
-   for the past month is at or above the median MTBF for active routers.
+   for the past month is at or above the median Stability for active routers.
    Routers are never called stable if they are running a version of Tor
    Routers are never called stable if they are running a version of Tor
    known to drop circuits stupidly. (0.1.1.10-alpha through 0.1.1.16-rc
    known to drop circuits stupidly. (0.1.1.10-alpha through 0.1.1.16-rc
    are stupid this way.)
    are stupid this way.)
 
 
-   MTBF shall be defined as the mean length of the runs observed by a
+   Stability shall be defined as the mean length of the runs observed by a
    given directory authority.  A run begins when an authority decides
    given directory authority.  A run begins when an authority decides
    that the server is Running, and ends when the authority decides that
    that the server is Running, and ends when the authority decides that
    the server is not Running.  In-progress runs are counted when
    the server is not Running.  In-progress runs are counted when
-   measuring MTBF.
+   measuring Stability.
 
 
 Issues:
 Issues:
 
 
@@ -44,3 +44,18 @@ Issues:
 
 
    Surely somebody has done this kinds of thing before.
    Surely somebody has done this kinds of thing before.
 
 
+Alternative:
+
+   "A router's Stability shall be defined as the sum of $alpha ^ d$ for every
+   $d$ such that the router was not observed to be unavailable $d$ days ago."
+
+   This allows a simpler implementation: every day, we multiply yesterday's
+   Stability by alpha, and if the router was running for all of today, we add
+   1.
+
+Limitations:
+
+   Authorities can have false positives and false negatives when trying to
+   tell whether a router is up or down.  So long as these aren't terribly
+   wrong, and so long as they aren't significantly biased, we should be able
+   to use them to estimate stability pretty well.