[tor-bugs] #20395 [Metrics/metrics-lib]: metrics-lib should be able to handle large descriptor files

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 10 14:25:43 UTC 2017


#20395: metrics-lib should be able to handle large descriptor files
---------------------------------+-----------------------------------
 Reporter:  iwakeh               |          Owner:  karsten
     Type:  defect               |         Status:  new
 Priority:  Medium               |      Milestone:  metrics-lib 2.0.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by karsten):

 Hmm, can you explain that plan a bit more?  How would we implement
 `DescriptorFile#getDescriptors()` and
 `DescriptorParser#parseDescriptors()` that both return a
 `List<Descriptor>` without having read the bytes from the file system?

 And when would the reading and parsing happen and by whom?  Would that not
 be done by the background parsing thread (or in the future threads)
 anymore?

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


More information about the tor-bugs mailing list