[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #17939 [Metrics/Onionoo]: Optimise the construction of details documents with field constraints
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs