AMAZINGINDEX.COM 每天一点 Amazing
60.4
VOL. 2026.11
2026.11.06
← 返回 2026.11.06 日报
日报快照 · Daily Snapshot
NO. 014

YC项目把Agent冷启动压到5ms

#ARTICLE HackerNews 2026.11.06
推荐指数 70.0 NO. 014 · 2026.11.06
发布2026/11/05Score67Comments35

Rivet 是基于 Actor 模型的 Agent 编排器,单 Actor 仅 72KB 内存、P99 冷启动 4.99ms,SQLite 直连 S3 实现 SSD 级持久化。对需要海量长连接 Agent 的场景,这可能是目前成本最低的基建方案。

做实时 Agent 的团队之前要么用 Cloudflare Workers 但受限于 V8 隔离和状态持久化,要么自研基于 Firecracker 的轻量 VM 但冷启动和内存成本下不来。Rivet 的 trick 是共享 Node/Bun 进程而非 sandbox,用 S3 做 SQLite 的 block device 而非传统文件同步,把 idle 成本打到零。

如果你在做游戏 NPC、实时客服、或 IoT 设备孪生这类需要百万级常驻连接的场景,现在普遍用 Redis + 容器或 Supabase Realtime,Rivet 的 actor-per-entity 模型和 hibernate 机制值得对比测试。Rust runtime 的支持也说明他们想在延迟敏感场景抢 Durable Objects 的市场。

正面 36 条评论

核心争论:极致冷启动是否必要,还是应强调持久化与沙箱解耦架构

fastball

Rivet is very cool. Switched a Cloudflare Durable Object piece of our infrastructure that lived in its own little fairy tale land to our own infra within the rest of our VPC. Was a very pleasant experience. Haven't had the chance to try Rivet v3 yet but hoping to get to it soon.

NathanFlurry

Appreciate the kind words, would love to hear feedback on v3 in our Discord when you upgrade!

keeganpoppen

fairy tale land?

替代方案: Cloudflare Durable ObjectsFly.io Spritesagent substrateAkkamod_rivet
查看原文 →