Opened 8 months ago

Closed 8 months ago

#28596 closed defect (fixed)

Use the latest descriptor bandwidths for torflow weighting

Reported by: teor Owned by:
Priority: Medium Milestone: sbws: 1.0.x-final
Component: Core Tor/sbws Version: sbws: 1.0.0
Severity: Normal Keywords: sbws-1.0-must-moved-20181128
Cc: juga Actual Points:
Parent ID: #28588 Points:
Reviewer: Sponsor:

Child Tickets

Change History (8)

comment:2 Changed 8 months ago by starlight

The local tor daemon used by SBWS can be configured to keep current-hour server descriptors cached and v3bwfile.py could pull all relay descriptors cheaply whenever it runs. Takes about one second to execute curl -s -o descriptors http://127.0.0.1:9030/tor/server/all

Obtaining through STEM may take a little more time, but should be inexpensive. Perhaps not worth the effort to ever bother creating continuous update logic.

comment:3 in reply to:  1 Changed 8 months ago by teor

Replying to juga:

Looking more torflow's code, now i'm not sure: https://gitweb.torproject.org/pytorctl.git/tree/SQLSupport.py#n421, https://gitweb.torproject.org/pytorctl.git/tree/SQLSupport.py#n691.

This SQLSupport code is not executed by the torflow BwAuthority.

The torflow BwAuthority generates bandwidth files using the aggregate.py script:
https://gitweb.torproject.org/torflow.git/tree/NetworkScanners/BwAuthority/aggregate.py#n884

comment:4 Changed 8 months ago by teor

Keywords: sbws-1.0-must-moved-20181128 added
Milestone: sbws 1.0 (MVP must)sbws 1.0.3

Moving all sbws 1.0 must bugs to 1.0.3.

comment:5 Changed 8 months ago by teor

Milestone: sbws 1.0.3sbws 1.0.x

Milestone renamed

comment:6 Changed 8 months ago by teor

Milestone: sbws 1.0.xsbws: 1.0.x

Milestone renamed

comment:7 Changed 8 months ago by teor

Milestone: sbws: 1.0.xsbws: 1.0.x-final

Milestone renamed

comment:8 Changed 8 months ago by juga

Resolution: fixed
Status: newclosed

Fixed by #28596

Note: See TracTickets for help on using tickets.