[tor-bugs] #25598 [Circumvention/Snowflake]: Let the broker inform proxies how often to poll
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Aug 24 05:25:44 UTC 2019
#25598: Let the broker inform proxies how often to poll
-------------------------------------+------------------------
Reporter: dcf | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Circumvention/Snowflake | Version:
Severity: Normal | Resolution:
Keywords: starter | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------+------------------------
Comment (by dcf):
Replying to [comment:3 serna]:
> > The broker could instead tell each proxy how long to wait before
polling again. The broker could even dynamically adjust the rate based on
an estimate of supply and demand.
> \\
> What information would you use to determine the time dynamically? I was
thinking in using {{{clientDeniedCount}}} and {{{proxyIdleCount}}} from
the metrics but it resets every 24 hours which can be a bit misleading.
The first step is just to use a hardcoded value of 20 s. Ignore
`clientDeniedCount` and `proxyIdleCount` and everything else. Just call a
function that returns a constant 20. Deciding on what logic should go in
that function later is a task of its own.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25598#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list