Opened 6 years ago

Last modified 7 months ago

#8248 new enhancement

Incremental descriptor queries

Reported by: atagar Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Normal Keywords: controller project
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We presently have a get_server_descriptor() and get_network_status() method, but it's horribly inefficient. Our present messaging infrastructure provided by the BaseController class sends or receives complete messages rather than streaming the message as it comes in. This means that we load the compete "GETINFO desc/all" response into memory before providing our caller with even the first descriptor. This eats up memory and it means an unnecessarily long latency before we provide results. Unfortunately this will take a bit of re-architecting in the BaseController to allow for streamed messages.

Child Tickets

Change History (2)

comment:1 Changed 12 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:2 Changed 7 months ago by atagar

Keywords: project added
Note: See TracTickets for help on using tickets.