How Cloudflare D1 Scales to a Million Databases Without a Hot-Path Directory

Cloudflare's under-the-hood look at D1 explains how separating control-plane work from the data plane, sharding metadata, and scheduling expensive database lifecycle operations off the hot path lets the platform scale to millions of SQLite databases.

cloudflared1sqliteserverlessdatabases
 
How Cloudflare D1 Scales to a Million Databases Without a Hot-Path Directory - Hacky JS