Skip to content

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

Replication Remove topic Replication Clear all 7 posts RSS

2026

2023

2021

How we scaled the GitHub API with a sharded, replicated rate limiter in Redis

Case study 9 min +90 XP

GitHub replaced a Memcached-based API rate limiter, which suffered evictions and could not survive a move to per-datacenter caches, with application-sharded Redis clusters (one primary, several read replicas) and atomic Lua scripts, rolled out behind a feature flag.

2018

GitHub Engineering

MySQL High Availability at GitHub

Case study 15 min +150 XP

GitHub replaced VIP- and DNS-based MySQL primary discovery with a decoupled pipeline: orchestrator/raft detects failures and promotes a new primary, each orchestrator node writes the new identity to its local Consul KV store, and consul-template reconfigures GLB/HAProxy writer pools reached via anycast.

The quest for software engineering knowledge.

Look:
Layout: