Crates.io | bitkv-rs |
lib.rs | bitkv-rs |
version | 0.2.1 |
source | src |
created_at | 2024-04-08 18:23:00.651513 |
updated_at | 2024-04-08 18:23:00.651513 |
description | A simple k/v store API inspired by bitcask |
homepage | https://github.com/KevinZh0A/bitkv-rs |
repository | https://github.com/KevinZh0A/bitkv-rs |
max_upload_size | |
id | 1200841 |
size | 169,655 |
An efficient key-value storage engine, designed for fast reading and writing, which is inspired by Bitcask.
See Introduction, Installation and Usages for more details.
Bitkv is a high-performance key-value storage system written in Rust. It leverages a log-structured design with an append-only write approach to deliver exceptional speed, reliability, and scalability.
Efficient Key-Value Storage: Optimized for fast read and write operations with minimal overhead.
Diverse Index: Support BTree, Skiplist, BPlusTree index for multiple index strategies.
MemMap files for efficient I/O: For fast index reconstruction adn quick startup times
Low latency per item read or written:
~ 7 µs
~ 3 ns
Concurrency Support: fine-grained locking minimizes contentions.
WriteBatch transaction: commit a batch of write enhance isolation.
To use bitkv in your project, add it as a dependency in your Cargo.toml file:
[dependencies]
bitkv = "0.2.1"
Then, run cargo build to download and compile bitkv-rs and its dependencies.
For more detailed setup and compilation instructions, visit the Bitkv-rs GitHub repository.
Please see examples
.
For detailed usage and API documentation, refer to the bitkv-rs Documentation.
Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please raise an issue or submit a pull request.