[tor-bugs] #1819 [Tor Relay]: Implement new metric on bidirectional use of connections
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Sat Aug 14 19:43:55 UTC 2010
#1819: Implement new metric on bidirectional use of connections
-------------------------+--------------------------------------------------
Reporter: karsten | Owner: karsten
Type: enhancement | Status: needs_review
Priority: normal | Milestone:
Component: Tor Relay | Version:
Keywords: | Parent:
-------------------------+--------------------------------------------------
Changes (by nickm):
* status: new => needs_review
Comment:
What's the motivation on this one? And why 10 seconds?
There's probably a better name than ConnStatistics here; lots of our other
statistics could fairly be called connection statistics.
ConnDirectionStats? ConBidiStats?
BIDI_THRESHOLD and BIDI_INTERVAL and BIDI_FACTOR are uncommented.
Doing a round trip to disk here feels a little kludgy; it could probably
use unit tests too.
Looking at the code that generates the extrainfo, it looks like if we
leave ConnStatistics on for a while, then turn if off for a year, then
turn it on again, there could be a window when the old ConnStatistics from
a year ago get written in the extrainfo. Is that true? If so, is that
really what we want?
In any case, it looks like a new feature; is there a good reason to add it
to 0.2.2.x rather than waiting for 0.2.3.x?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1819#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list