TurboKV, an asynchronous embedded key-value database written in Rust, has been released in version 0.6. This new version introduces several core features for data management within Rust applications.
The database offers atomic batches for consistent writes, ordered range scans for efficient data retrieval, and configurable durability options. It also includes built-in compression and background compaction to manage storage efficiency. TurboKV's persisted Bloom-filter format utilizes hardware AES for performance.
Developers can integrate TurboKV using `cargo add turbokv` and `cargo add tokio --features full`. The database handles keys and values as arbitrary byte sequences, requiring callers to encode strings. Default configurations include a 64 MiB memtable, a 64 MiB block cache, and LZ4 compression, which can be adjusted via `DbOptions`.
A `Db` or `Engine` instance exclusively owns its data directory, necessitating a clean shutdown using `close()` or `close_with_status()`. Mutation APIs copy inputs before returning, and point/collecting reads return owned `Vec<u8>` values. Keys are ordered lexicographically by raw bytes, and scans capture a coherent point-in-time view.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
TurboKV, an asynchronous embedded key-value database for Rust, has released version 0.6. This update provides features like atomic batches, ordered range scans, configurable durability, compression, and background compaction, offering Rust developers a new option for embedded data storage.