Ross ROSS = Recommend OSS · open-source software intelligence for agents

ngaut/builddatabase resource

Build a distributed SQL database from the ground up observed · 2026-08-28

github.com/ngaut/builddatabase observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4049
  • days_rel: n/a
  • days_push: 1452
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2149 stars · 307 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

An open-source book/course that teaches how to build a distributed SQL database from scratch, using TiDB and TiKV source code as reference examples. It covers SQL parsing, the MySQL wire protocol, query optimization, distributed transactions, Raft, schema changes, and distributed system testing.

Use cases

  • learn how distributed SQL databases work internally
  • understand TiDB and TiKV source code
  • study SQL parser implementation with goyacc and golex
  • learn distributed transaction models like Percolator and Spanner
  • understand Raft consensus and distributed key-value engines
  • learn how to test distributed systems with Jepsen and fault injection

When to choose

  • you want a deep, source-code-driven guide to distributed database internals
  • you are studying TiDB/TiKV or planning to contribute to them
  • you want to learn SQL parsing, optimization, and Raft in one curriculum

When to avoid

  • you need a production-ready database rather than educational material
  • you want a maintained tutorial with recent updates and active community
  • you cannot read Chinese, since the content is written in Chinese

Facets

learning-resource · maturity maintenance

database parser documentation databases microservices tutorials education cross-platform distributed-sql tidb tikv book open-source-course chinese-language

1 source

Member repositories

RepositoryRoleHealth v2
ngaut/builddatabasemain32

For agents

markdown · JSON · MCP: product_card(name="ngaut/builddatabase")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem