erikgrinaker/toydb resource
Distributed SQL database in Rust, written as an educational project observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 94
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2684
- days_rel: n/a
- days_push: 37
- n_releases_24m: 0
Adoption not part of the score
7276 stars · 625 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
toyDB is a distributed SQL database written in Rust, built from scratch as an educational project to illustrate database internals. It features Raft consensus, MVCC-based ACID transactions, pluggable storage engines, and a SQL query engine, prioritizing simplicity and correctness over performance.
Use cases
- learn how distributed SQL databases work internally
- study Raft consensus implementation in Rust
- understand MVCC and snapshot isolation transactions
- explore how a SQL query engine and optimizer are built
- read a simple codebase to learn database architecture
- run a small local Raft cluster for experimentation
When to choose
- you want to learn database internals from readable source code
- you need a teaching example of Raft, MVCC, and SQL execution
- you prefer correctness and clarity over production features
When to avoid
- you need a production database with performance, scalability, or availability guarantees
- you need a fully featured SQL dialect or rich tooling
- you need long-term support or a large contributor community
Facets
learning-resource · maturity stable
database search-engine parser databases microservices education developer-tools windows rust cli raft mvcc sql educational distributed-consensus storage-engine query-engine linux macos
2 sources
- readme: https://github.com/erikgrinaker/toydb · fetched 2026-08-28 · be7cc02ecfd9
- registry_crates: https://crates.io/api/v1/crates/toydb · fetched 2026-08-29 · 753bfab1419c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| erikgrinaker/toydb | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="erikgrinaker/toydb")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem