aboutsummaryrefslogtreecommitdiff
path: root/proposals/328-relay-overload-report.md
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2021-03-10 14:41:40 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2021-03-10 14:41:40 +0200
commitcccf29c7af52beececb5828f79098c7800f5412f (patch)
tree00154c6a7b83b3e2541eb836ae6d4e940595a5ad /proposals/328-relay-overload-report.md
parent421bea4058c95a2055f043ab4f97fa978c9c4c97 (diff)
downloadtorspec-cccf29c7af52beececb5828f79098c7800f5412f.tar.gz
torspec-cccf29c7af52beececb5828f79098c7800f5412f.zip
prop328: Rate-limit counter should increase once per minute.
Diffstat (limited to 'proposals/328-relay-overload-report.md')
-rw-r--r--proposals/328-relay-overload-report.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/proposals/328-relay-overload-report.md b/proposals/328-relay-overload-report.md
index f5d3193..df55f02 100644
--- a/proposals/328-relay-overload-report.md
+++ b/proposals/328-relay-overload-report.md
@@ -76,7 +76,7 @@ and write, in the past 24 hours starting at the provided timestamp rounded down
to the hour.
```
-"overload-ratelimits" SP YYYY-MM-DD SP HH:MM:SS
+"overload-ratelimits" SP version SP YYYY-MM-DD SP HH:MM:SS
SP rate-limit SP burst-limit
SP read-overload-count SP write-overload-count NL
[At most once.]
@@ -87,7 +87,9 @@ and BandwidthBurst found in the torrc configuration file.
The "{read|write}-overload-count" are the counts of how many times the reported
limits of burst/rate were exhausted and thus the maximum between the read and
-write count occurances.
+write count occurances. To make the counter more meaningful and to avoid
+multiple connections saturating the counter when a relay is overloaded, we only
+increment it once a minute.
The 'version' field is set to '1' for the initial implementation of this
proposal.