Skip to content

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

System design Remove topic System design Clear all 5 posts RSS

2026

2024

Render

Distributing Global State to Serve over 1 Billion Daily Requests

Case study 11 min +110 XP

Render's request routers evolved from per-instance in-memory caches with 5-minute TTLs and database lookups on miss, which overloaded PostgreSQL on every redeploy and failed during database downtime, to push-based caching using PostgreSQL LISTEN/NOTIFY so routers never query the database in the hot path.

The quest for software engineering knowledge.

Look:
Layout: