Opened 23 months ago

Last modified 16 months ago

#28667 new defect

Obtain the new descriptors and network status documents by signals instead of every 5min

Reported by: juga Owned by:
Priority: Medium Milestone: sbws: unspecified
Component: Core Tor/sbws Version:
Severity: Normal Keywords: tech-debt, refactor, scanner, relays
Cc: Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor:

Description (last modified by teor)

The network status and descriptors are obtained every 5min
Is there any reason for that?.
I think torflow obtain them as they come.
It could be done with stem using:

            listener_fn, EventType.NS, EventType.NEWDESC)

Also, instead overwriting those values, Relay could have a dictionary (key would be the timestamp) with a subset of the attributes of document, in case we might need to calculate median/mean of those attributes

Edit: fix typo

Child Tickets

#29716closedChange the way the consensus is receivedCore Tor/sbws

Change History (8)

comment:1 Changed 23 months ago by teor

Milestone: sbws: unspecified

This is a useful refactor, but we can deploy sbws without it.

comment:2 Changed 20 months ago by juga

Cc: juga teor removed
Parent ID: #28684

Add the refactor parent.
Remove unneded CC.
Part of #28547 is also this.

comment:3 Changed 20 months ago by juga

Keywords: tech-debt refactor added

Add keywords

comment:4 Changed 19 months ago by juga

Points: 1

Set points at least to minimum

comment:5 Changed 19 months ago by juga

Keywords: scanner relays added

comment:6 Changed 17 months ago by teor

Parent ID: #28684#30733

We are actually keeping very stale descriptors, see #30733.

comment:7 Changed 16 months ago by teor

Description: modified (diff)

comment:8 Changed 16 months ago by teor

Parent ID: #30733

This is a major design change: we won't be doing it as a bugfix on 1.1.0.

Note: See TracTickets for help on using tickets.