GOODBOY008 / crocodiledb

πŸ’¨πŸ’¨πŸ’¨ Distributed SQL database in rust, written as a learning project (WIP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’¨πŸ’¨πŸ’¨ CrocodileDB (WIP)

Overview

CrocodileDB is a distributed SQL database in Rust, written as a learning project but i hope it can be used in production. the components including:

  • Linearization based on Raft distributed consensus algorithm
  • ACID-compliant transaction engine with MVCC-based snapshot isolation.
  • Alternative storage engines with B+tree and log-structured.
  • SQL layer satisfies generality, e.g. join,aggregates and transactions etc.

CrocodileDB Architecture

in making....

Storage Layer

SQL Layer

Raft Consensus Layer

Usage

First, should ensure you have Rust compiler.

  • Start Server
cd clusters/local && ./run.sh
  • Start Client
cargo run

Bench

About

πŸ’¨πŸ’¨πŸ’¨ Distributed SQL database in rust, written as a learning project (WIP)

License:Apache License 2.0


Languages

Language:Rust 100.0%