{"adoption": {"forks": 625, "observed_at": "2026-08-28T04:09:57.971592+00:00", "stars": 7276}, "canonical_url": "https://ross.abutalabs.com/products/toydb", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Distributed SQL database in Rust, written as an educational project", "domain": ["databases", "microservices", "education", "developer-tools"], "enriched": true, "function": ["database", "search-engine", "parser"], "health_score": 77, "homepage": null, "language": "Rust", "license": "Apache-2.0", "license_family": "permissive", "maturity": "stable", "member_repos": ["erikgrinaker/toydb"], "name": "erikgrinaker/toydb", "platform": ["windows", "rust", "cli"], "pushed_at": "2026-07-27T22:10:04+00:00", "repo": "erikgrinaker/toydb", "stars": 7276, "tags": ["raft", "mvcc", "sql", "educational", "distributed-consensus", "storage-engine", "query-engine", "linux", "macos"], "topics": ["rust", "distributed", "database", "raft", "sql", "mvcc"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/toydb", "repo": "erikgrinaker/toydb", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:57.971592+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:38:54.375664+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be7cc02ecfd96731dd18b7da61f792ef9856d9cdff71a156cb1991ca50cf5111", "fetched_at": "2026-08-28T04:09:57.971592+00:00", "kind": "readme", "missing": false, "url": "https://github.com/erikgrinaker/toydb"}, {"content_hash": "753bfab1419c387e36bec6c7d5c42ec963d780dafd51591614e22eec08fc42d8", "fetched_at": "2026-08-29T08:34:12.275666+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/toydb"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2684, "days_push": 37, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}