Skip to content

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

Caching Remove topic Caching Clear all 3 posts RSS

2026

2022

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.

The quest for software engineering knowledge.

Look:
Layout: