Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Distributed databases Remove topic Distributed databases Clear all 1 posts RSS

Monday, Sep 27, 2021

GitHub Engineering

Partitioning GitHub’s relational databases to handle scale

Case study 9 min +90 XP

GitHub split its monolithic `mysql1` MySQL cluster by first virtually partitioning tables into schema domains (declared in YAML) and enforcing boundaries with query and transaction linters, then physically moving domains to new clusters via Vitess vertical sharding or a custom ProxySQL/GTID-based write-cutover script.

The quest for software engineering knowledge.

Look:
Layout: