[tor-bugs] #8248 [Stem]: Incremental descriptor queries

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 17 08:05:55 UTC 2013


#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


More information about the tor-bugs mailing list