Skip to content
GitHub·

🔒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.

TurboKV: Async Key-Value DB with AES Encryption — GitHub

Key Points

1

TurboKV supports hardware AES encryption with `RUSTFLAGS="-C target-feature=+aes,+sse2"` for x86/x86_64 targets.

2

For ARM/AArch64 targets, TurboKV uses `RUSTFLAGS="-C target-feature=+aes,+neon"` to enable AES encryption.

3

TurboKV's `DbOptions` struct has presets `fast`, `durable`, and `paranoid` for different use cases.

4

The `WriteBatch` struct supports atomic operations with `batch` method, ensuring data integrity.

5

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.

key-valueasyncencryptionrustembedded-database

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

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,382 builders reading daily.

Also get