[tor-bugs] #15844 [Onionoo]: Develop database schema to support Onionoo's search parameter efficiently
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri May 15 08:43:43 UTC 2015
#15844: Develop database schema to support Onionoo's search parameter efficiently
-----------------------------+-----------------
Reporter: karsten | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-----------------------------+-----------------
Comment (by karsten):
Replying to [comment:13 leeroy]:
Sounds like a fine plan!
Note that the use of `GsonBuilder` in `ResponseBuilder` is a dirty hack
that I would like to get rid of if possible. It's only used if the user
asks for certain fields in details documents, in which case we'll have to
parse the full details document and return one containing only those
fields. If there's a better way to implement that, let's look into that.
Though I'm not sure if storing all details fields in the database and
compiling all details documents on the fly is the best solution. However,
should we save this problem for later?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15844#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list