76 releases
Uses new Rust 2024
| 0.0.81 | Jul 17, 2025 |
|---|---|
| 0.0.80 | Jul 13, 2025 |
| 0.0.71 | Jun 25, 2025 |
| 0.0.40 | May 25, 2025 |
| 0.0.2 | Feb 27, 2025 |
#1963 in Database interfaces
6,652 downloads per month
375KB
13K
SLoC
BRK Vec
A Vec (an array) that is stored on disk and thus which can be much larger than the available RAM.
Compared to a key/value store, the data stored is raw byte interpretation of the Vec's values without any overhead which is very efficient. Additionally it uses close to no RAM when caching isn't active and up to 100 MB when it is.
Compression is also available and built on top zstd to save even more space (from 0 to 75%). The tradeoff being slower reading speeds, especially random reading speeds. This is due to the data being stored in compressed pages of 16 KB, which means that if you to read even one value in that page you have to uncompress the whole page.
Dependencies
~37MB
~647K SLoC