[tor-bugs] #17939 [Metrics/Onionoo]: Optimise the construction of details documents with field constraints
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Wed May 25 12:31:11 UTC 2016
    
    
  
#17939: Optimise the construction of details documents with field constraints
-----------------------------+---------------------
 Reporter:  fmap             |          Owner:
     Type:  enhancement      |         Status:  new
 Priority:  Low              |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Minor            |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+---------------------
Comment (by virgil):
 This ticket might be dead.  But the proposal was to remove GSON entirely
 from the serializing.  You have:
 (1) the full document
 (2) a pre-computed list of the start and end-points of each type of entry.
 Then when you receive a request, you look up the desired start and end
 points we want in our result, and simply pull out all data between those
 offsets, and then to the user.  At request-time, no GSON is involved.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17939#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list