Skip to main content

Introduction

There's not much to say about D1 yet, since it's only in private beta, but the short version from Cloudflare is that it's an SQLite database that can connect with Workers directly, presumably backed by whatever is running Durable Objects.

The announcement blog post has limited details about read replication, batching queries, how D1 will bind to Workers, and a working demo. However, for architecture planning purposes, there are enough at-scale technical problems that I would be astonished if D1 manages to get to public beta before the end of 2022.

However... if you're interested in the concept, there are actually some proof-of-concept projects that try to do this, like Louis' project edge-sql that embeds SQLite as WASM, or Markus' experiment do-sqlite that persists data using Durable Objects. There are also non-Cloudflare offerings coming up, like fly.io working on related SQLite tech.

A true serverless SQLite database is definitely in the future, but Cloudflare has a long way to go to make a reliable offering.

Sign up to get updates as the Plainflare project matures.
No spam, no affiliates, not a paid newsletter.