Opened 4 years ago

Closed 4 years ago

#18398 closed enhancement (fixed)

Check fallback directory performance before including them in the list

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: easy
Cc: Actual Points:
Parent ID: Points: small
Reviewer: Sponsor:

Description

One fallback directory is quite slow to provide consensuses (~30s).
atagar suggested in #18177 that we check fallbacks' speeds before we add them to the list (and provided code!)

We need to add this to the updateFallbackDirs.py script before we generate the next fallback list.

(One drawback of checking times is that we'll get slightly different results from different connections. This shouldn't be an issue if we download one at a time, and re-time failed connections.)

Child Tickets

Change History (2)

comment:1 Changed 4 years ago by teor

Status: newneeds_review

My branch fallbacks-201602-v2 fixes #18398 and #17158.
https://github.com/teor2345/tor.git

comment:2 Changed 4 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Merged!

Note: See TracTickets for help on using tickets.