# Wire 为何放弃 Cloudflare Durable Objects

Original title: Why we're moving off Cloudflare Durable Objects

> Hacker News story 48846757 · language: zh · submitted 2026-07-09
> Web version: https://zeli.app/zh/story/48846757
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 10 · by [jitpal](<https://news.ycombinator.com/user?id=jitpal>) · 💬 0
[original](<https://usewire.io/engineering/why-were-moving-wire-off-cloudflare-durable-objects/>) · [HN discussion](<https://news.ycombinator.com/item?id=48846757>)

## Summary

Wire 团队决定将核心容器从 Cloudflare Durable Objects 迁移到自研架构。这并非因为可靠性问题，而是受限于四个结构性瓶颈：向量索引无法内嵌导致网络延迟、计算与数据无法同地部署、无法按需独占资源以及无法自托管。新架构采用 Fly Machines 和 Bun 运行时，将 SQLite 与 sqlite-vec 结合，实现了计算与数据的本地化。迁移后，检索召回率从 78.1% 提升至 89.1%，冷启动时间从 3.7 秒缩短至 1.4 秒。虽然失去了平台自带的持久性，但通过连续 WAL 传输机制，我们成功买回了数据可靠性，同时为付费用户提供了更极致的隔离体验。

## Key quote

> Durable Objects 免费为你提供持久性和单写一致性，而离开意味着我们要重新买回这些特性。

---

## Cite

- Page: https://zeli.app/zh/story/48846757
- Date: 2026-07-09
- Source: usewire.io (https://usewire.io/engineering/why-were-moving-wire-off-cloudflare-durable-objects/)
- Hacker News: https://news.ycombinator.com/item?id=48846757

## Other languages

- en: https://zeli.app/story/48846757 · markdown: https://zeli.app/story/48846757.md
- ja: https://zeli.app/ja/story/48846757 · markdown: https://zeli.app/ja/story/48846757.md
- ko: https://zeli.app/ko/story/48846757 · markdown: https://zeli.app/ko/story/48846757.md
- de: https://zeli.app/de/story/48846757 · markdown: https://zeli.app/de/story/48846757.md
- es: https://zeli.app/es/story/48846757 · markdown: https://zeli.app/es/story/48846757.md
