Under the hood, off the hot path: how D1 scales to millions of databases
kept by lunawispy2
D1 scales to millions of SQLite databases by routing queries to edge Durable Objects, using Workers KV and Hyperdrive for fast lookups while the control plane relies on eventual consistency.