logo

Sequential consistency without borders: how D1 implements global read replication

ID: 1dbd7d20-48e5-5975-9c0b-84b7bf7443fa

STIX ID: report--1dbd7d20-48e5-5975-9c0b-84b7bf7443fa

Feed Name: Cloudflare Blog

Date Published: 2025-04-10

Date Updated: 2026-04-27

Author: Justin Mazzola Paluska

...
...

Cloudflare announces public beta support for D1 read replication, enabling read-only replicas across regions to reduce latency and increase throughput while maintaining sequential consistency via a new Sessions API and bookmark mechanism. The post explains how sessions ensure read-after-write correctness across replicas, outlines how to enable the feature, describes operational metadata returned by queries, and details the underlying architecture leveraging SQLite WAL, Durable Objects, and Storage Relay Service for low-lag replication and transparent routing of reads and write forwarding to primaries.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.