🔒TurboKV: Async Key-Value DB with AES Encryption
Async DB with AES encryption and atomic batches
TL;DR
TurboKV is an async embedded key-value database with AES encryption and atomic batches. It's perfect for applications needing fast, secure, and reliable data storage. Install with `cargo add turbokv` and start using it today.
TurboKV is an async embedded key-value database with AES encryption and atomic batches. It's designed for applications needing fast, secure, and reliable data storage. With methods like `open`, `insert`, and `get`, TurboKV offers a robust set of features for managing data efficiently. The installation command is `cargo add turbokv cargo add tokio --features full`, and it supports hardware AES for encryption. TurboKV's `DbOptions` struct allows for customization of durability, memory table size, and compression. The `WriteBatch` struct supports atomic operations, ensuring data integrity. TurboKV is ideal for developers looking to enhance the performance and security of their applications.
Key Points
TurboKV supports hardware AES encryption with `RUSTFLAGS="-C target-feature=+aes,+sse2"` for x86/x86_64 targets.
For ARM/AArch64 targets, TurboKV uses `RUSTFLAGS="-C target-feature=+aes,+neon"` to enable AES encryption.
TurboKV's `DbOptions` struct has presets `fast`, `durable`, and `paranoid` for different use cases.
The `WriteBatch` struct supports atomic operations with `batch` method, ensuring data integrity.
TurboKV's `range` and `scan_prefix` methods eagerly allocate every returned key and value for efficient data retrieval.
Why It Matters
If you're building an application that requires secure and efficient data storage, TurboKV is a game-changer. With AES encryption and atomic batches, it ensures data integrity and security. The `DbOptions` struct allows for customization, making it suitable for various use cases. TurboKV's `WriteBatch` struct supports atomic operations, ensuring data consistency. Perfect for developers looking to enhance the performance and security of their applications.
Frequently Asked Questions
Why does this matter?
If you're building an application that requires secure and efficient data storage, TurboKV is a game-changer. With AES encryption and atomic batches, it ensures data integrity and security. The `DbOptions` struct allows for customization, making it suitable for various use cases. TurboKV's `WriteBatch` struct supports atomic operations, ensuring data consistency. Perfect for developers looking to enhance the performance and security of their applications.
What happened?
TurboKV is an async embedded key-value database with AES encryption and atomic batches. It's perfect for applications needing fast, secure, and reliable data storage. Install with `cargo add turbokv` and start using it today.
Comments
Be the first to comment
Enjoyed this article?
Get it daily. 7am. Free. Reads in 5 minutes.
Join 3,382 builders reading daily.