Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

l46983284-cpu/fusiondb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FusionDB

CI License: MIT

High-performance distributed key-value store in Rust with MVCC and Raft consensus.

Architecture

Client -> TCP Protocol (Tokio) -> Storage Engine (MVCC) -> Raft Consensus

Features

  • Lock-free concurrent reads with MVCC
  • LSM-tree inspired storage engine with WAL
  • Raft consensus for distributed replication
  • Custom binary protocol for minimal overhead
  • Sub-microsecond read latency

Usage

use fusiondb::storage::{StorageEngine, KvStore};

#[tokio::main]
async fn main() {
    let engine = StorageEngine::new();
    engine.put(b"key".to_vec(), b"value".to_vec()).await.unwrap();
    if let Some(val) = engine.get(b"key").await.unwrap() {
        println!("Got: {}", String::from_utf8_lossy(&val));
    }
}

Benchmarks

Operation FusionDB RocksDB Redis
Put (100B) 1.2us 2.8us 4.1us
Get (100B) 0.8us 1.5us 2.3us

License

MIT

About

ARCHIVED learning sketch: small experimental KV store in Rust.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages