solana/core
behzad nouri a0551b4054
persists repair-peers cache across repair service loops (#18400)
The repair-peers cache is reset each time repair service loop runs,
and so computed repeatedly for the same slots:
https://github.com/solana-labs/solana/blob/d2b07dca9/core/src/repair_service.rs#L275

This commit uses an LRU cache to persists repair-peers for each slot.
In addition to LRU eviction rules, in order to avoid re-using outdated
data, each entry also has 10 seconds TTL.
2021-07-07 14:12:09 +00:00
..
benches encapsulates turbine peers computations of broadcast & retransmit stages (#18238) 2021-07-07 00:35:25 +00:00
src persists repair-peers cache across repair service loops (#18400) 2021-07-07 14:12:09 +00:00
tests Add SnapshotArchiveInfo and refactor functions in snapshot_utils (#18232) 2021-07-01 12:20:56 -05:00
.gitignore tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Cargo.toml chore: bump reqwest from 0.11.2 to 0.11.4 (#18362) 2021-07-01 09:59:30 -06:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00