[metrics-bugs] #27181 [Metrics/Onionoo]: Avoid unnecessary disk writes
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Dec 9 08:50:35 UTC 2019
#27181: Avoid unnecessary disk writes
-----------------------------+------------------------------
Reporter: irl | Owner: metrics-team
Type: enhancement | Status: closed
Priority: Medium | Milestone:
Component: Metrics/Onionoo | Version:
Severity: Normal | Resolution: wontfix
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+------------------------------
Changes (by karsten):
* status: new => closed
* resolution: => wontfix
Comment:
This ticket is mostly obsolete with #32660 where we compare the digest of
an existing file with the digest of the serialized string that we were
about to write. We could indeed do more by remembering whether a status
object has changed before serializing it and comparing checksums. But it's
unclear whether that development and testing effort would be well spent.
I'd say as long as I/O remains the critical resource we should keep what
we have and just spend that extra CPU time on serializing and computing
digests. I'll close this ticket as something we're very unlikely to do,
but feel free to reopen it if you object.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27181#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list