Skip to content

aronpark1007/kv-rocksdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RocksDB Wrapper Module

A Rust-based wrapper module for RocksDB with transaction and non-transaction support

📌 Project Overview

This project provides a structured Rust wrapper around RocksDB, implementing a dedicated struct that abstracts common database operations.

It supports basic key-value operations such as:

  • put
  • get
  • delete
  • range_ge
  • range_gt
  • range_le
  • range_lt

In addition, the module supports both transactional mode and non-transactional mode, allowing flexible usage depending on consistency and performance requirements.

The goal of this module is to provide a clean and reusable interface over RocksDB for backend services requiring high-performance embedded storage.

🛠 Tech Stack

  • Language: Rust (Edition 2021)
  • Storage Engine: RocksDB
  • Macros: strum_macros

📦 Dependencies

  • rocksdb = "0.23.0"
  • strum_macros = "0.27.1"

⚙️ Features

  • Structured RocksDB wrapper implementation
  • Basic CRUD operations
  • Range support
  • Transaction mode support
  • Non-transaction mode support
  • Designed for backend service integration

⚠️ Known Issue (Rust Version Compatibility)

When using Rust 1.78 or higher, running RocksDB in test code may cause execution errors.

This issue is documented here: sequenceplanner/r2r#96

⚠️ This issue only affects test execution. Production service runtime is not affected.


🔧 Rust Version Downgrade (Windows)

To downgrade Rust to version 1.77.0:

rustc --version
rustup install 1.77.0
rustup default 1.77.0
rustc --version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages