[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #8248 [Stem]: Incremental descriptor queries
#8248: Incremental descriptor queries
-------------------------+--------------------------------------------------
Reporter: atagar | Owner: atagar
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: controller | Parent:
Points: | Actualpoints:
-------------------------+--------------------------------------------------
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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8248>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs