• Peter Mrekaj's avatar
    refactor(kademlia,metrics): make metrics persistent writes asynchronous (#1873) · 95b8441b
    Peter Mrekaj authored
    This optimization includes:
    - all counters are stored in memory by default in order to minimize disc I/O operations
    - counters that need to be persisted are flushed periodically to the persistent store
    - switch to sync.Map which is more suitable for the case of disjoint sets of keys
    - using lock-free data structures for the critical parts
    95b8441b
Name
Last commit
Last update
..
kademlia Loading commit data...
lightnode Loading commit data...
mock Loading commit data...
pslice Loading commit data...
topology.go Loading commit data...