go-libp2p-peerstore/pstoreds
Raúl Kripalani 35444fbc6a implement two-tiered lookahead-based GC procedure.
The GC procedure consists of two tiers: lookahead and purge. The
lookahead tier runs less frequently (default 12 hours) than the purge
tier (default 5 minutes).

A lookahead round traverses the entire store and picks entries that
need to be visited in the current lookahead window, pinning those
entries in a separate region in the KV store, indexed by the next visit
timestamp.

A purge round iterates over the lookahead window only, and refreshes
the entries that require a visit. It removes them from the lookahead
region unless the entry requires another visit within the current
window.
2018-11-28 00:13:02 +00:00
..
addr_book.go implement two-tiered lookahead-based GC procedure. 2018-11-28 00:13:02 +00:00
cache.go add Keys() function to private cache interface for completeness. 2018-11-15 18:39:38 +00:00
ds_test.go implement two-tiered lookahead-based GC procedure. 2018-11-28 00:13:02 +00:00
keybook.go update to match new ExtractPublicKey API 2018-10-16 11:31:32 +01:00
metadata.go ds key encoding: b58 => b32 (no padding). 2018-10-04 10:51:57 +01:00
peerstore.go implement two-tiered lookahead-based GC procedure. 2018-11-28 00:13:02 +00:00