0xMiden / 0xMiden/miden-vm

Explore caching for the persistent forest backend

Offen
#3,513 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
merkle
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

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.