36 releases
Uses new Rust 2024
new 0.0.37 | May 14, 2025 |
---|---|
0.0.36 | May 13, 2025 |
0.0.31 | Apr 29, 2025 |
0.0.11 | Mar 31, 2025 |
0.0.2 | Feb 27, 2025 |
#1199 in Database interfaces
2,126 downloads per month
Used in 6 crates
235KB
8K
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
~21–31MB
~428K SLoC