You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
Optimize RocksDB performance for prefix scans
## Proposal
Enhance the RocksDB backend with several performance optimizations:
- Add optimized `ReadOptions` for prefix scans with async I/O enabled
- Set precise upper bounds for iterators to minimize key traversal
- Improve iterator validity checking with a more robust loop structure
- Configure bloom filters for prefix iteration optimization
- Increase block size from 4KB to 32KB to reduce iterator seeks
- Set up prefix extraction for bloom filter optimization
- Enable memory-mapped files for faster reads
- Configure memtable bloom filters and other performance settings
## Test Plan
Tested this with the benchmarks, saw a performance improvement. Not a
step change improvement, but significant enough to warrant a PR
## Release Plan
Nothing to do / These changes follow the usual release cycle.
## Links
- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
0 commit comments