Glean 拾遗
日刊Daily /2026-05-25 / Durable Objects 跨区域副本正式 GA Durable Objects now ship cross-region replicas

Durable Objects 跨区域副本正式 GA Durable Objects now ship cross-region replicas

原文Source blog.cloudflare.com 推荐By linyi 收录Glean'd 2026-05-25 14:22 阅读Read 12 min
编辑短评Editor's note

Cloudflare 把 DO 的强一致性扩展到了多区域副本,写延迟保持在 100ms 以内,读路径自动就近落地。配置只要在 wrangler.toml 加一行 replicas = "global"。 Cloudflare extends DO's strong consistency to multi-region replicas, keeping write latency under 100ms while reads hit the nearest replica. One wrangler.toml line — replicas = "global" — to enable.

Read 如果你在写 multi-region 的状态服务,今天可以少一层 Redis 了。 If you maintain a multi-region stateful service, you can drop a Redis layer today.

编辑推荐Editor pick 原文 12 分钟 Original · 12 min
原文 blog.cloudflare.com ↗ blog.cloudflare.com ↗
§ 摘要 · Summary

Cloudflare extends DO's strong consistency to multi-region replicas, keeping write latency under 100ms while reads hit the nearest replica. One wrangler.toml line — replicas = "global" — to enable.

Cloudflare 把 DO 的强一致性扩展到了多区域副本,写延迟保持在 100ms 以内,读路径自动就近落地。配置只要在 wrangler.toml 加一行 replicas = "global"。

§ 1

Modified Raft, leader region configurable per object

修改版 Raft,leader 区域可按对象配置

§ 2

Reads served from nearest replica, freshness window 50ms (configurable)

读走最近副本,freshness 默认 50ms 可调

§ 3

GA for all Workers paid plans; one-line wrangler.toml change

Workers 付费用户全量;wrangler 一行打开

打开原文 ↗ Open source ↗