Explore caching for the persistent forest backend
- Vorherrschende Sprache
- Rust
- Sterne
- 772
- Forks
- 352
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 93
Beschreibung
### What should be done?
Currently the only cache for the persistent forest backend is the LRU cache built into RocksDB. We should explore caching some subset of trees entirely in memory based on tuneable residency thresholds to improve query times for frequently-accessed trees.
### How should it be done?
Explore it and potentially finalise an implementation if it turns out to be useful.
### When is this task done?
If we have achieved consistent and measurable speedups on representative workflows for the persistent forest.
### Additional context
From this [comment](https://github.com/0xMiden/crypto/pull/876#pullrequestreview-3927322779) on 0xMiden/crypto#876.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.