Cloudflare redesigns D1 control plane for millions
Cloudflare has redesigned the control plane of its D1 serverless SQL database to support millions of databases by decoupling query processing from management operations. The architecture utilizes Postgres for metadata, ClickHouse for analytics, and Workers KV for globally replicated routing data, implementing periodic heartbeats and asynchronous workflows to ensure self-correction and scalability. Open article →