toydb

Crates.iotoydb
lib.rstoydb
version1.0.1
created_at2023-05-13 15:29:54.765371+00
updated_at2025-06-01 18:35:50.110193+00
descriptionA simple distributed SQL database, built for education
homepagehttps://github.com/erikgrinaker/toydb
repositoryhttps://github.com/erikgrinaker/toydb
max_upload_size
id863778
size2,374
Erik Grinaker (erikgrinaker)

documentation

README

toyDB

toyDB is a distributed SQL database in Rust, built from scratch as an educational project. Main features:

  • Raft distributed consensus for linearizable state machine replication.

  • ACID transactions with MVCC-based snapshot isolation.

  • Pluggable storage engine with BitCask and in-memory backends.

  • Iterator-based query engine with heuristic optimization and time-travel support.

  • SQL interface including joins, aggregates, and transactions.

toyDB is not distributed as a crate, see https://github.com/erikgrinaker/toydb for more.

This crate used to contain the joydb database. Thanks to Serhii Potapov for donating the crate name.

Commit count: 911

cargo fmt