[tor-bugs] #11573 [Onionoo]: Ponder using a database for Onionoo rather than keeping indexes in memory and contents on disk

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 24 19:18:24 UTC 2014


#11573: Ponder using a database for Onionoo rather than keeping indexes in memory
and contents on disk
-----------------------------+-----------------
     Reporter:  karsten      |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  minor        |  Milestone:
    Component:  Onionoo      |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-----------------

Comment (by iwakeh):

 It seems like the few longer response builds are the ones with really
 large output.
 Probably requests without the {{{limit}}} parameter.

 I added more detailed direct logging for longer processing times to
 {{{PerformanceMetrics}}}.

 The patch is included with my logging patch in #12882 .

 a log example:

 {{{
 2014-08-24 18:45:27 longer response building: 8616 ms for uptime params:
 [] and 6234523 chars.
 2014-08-24 18:47:37 longer response building: 29151 ms for weights params:
 [] and 21760692 chars.
 2014-08-24 18:48:43 longer response building: 3289 ms for bandwidth
 params: [] and 33954994 chars.
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11573#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list