档案库 · 开发与企业工具 · 产品决策 · 2022–2024
Rivet将其游戏基础设施转向开源持久Actor,迎接AI时代
游戏基础设施初创公司Rivet于2024年12月推出基于Rust+FoundationDB的'Actor',押注可自托管的持久对象将赢得代理和实时应用市场。
Rivet
做的是什么生意
Rivet builds open-source (Apache 2.0) infrastructure for stateful workloads: a managed edge cloud plus a self-hostable Rust engine, originally for multiplayer game servers and, since December 2024, for 'actors' — durable processes with RPC, state, queues, scheduling and realtime events aimed at AI agents and collaborative apps.
起因
Rivet began as a side project by two founders who had built multiplayer web games together since middle school; in high school one of them built the infrastructure powering Krunker.io (later acquired by FRVR). Tired of rebuilding dedicated-server stacks and DDoS/bot mitigation for each game, they started Rivet, entered closed beta in January 2022, and open-sourced it in August 2023 as a game server management tool for developers 'without any infra experience' — ~99% Rust, running on Nomad, Redis and ClickHouse, already supporting millions of MAU per the founders.
经过
In 2024 the team rebuilt around a new bet. After trying to replace its Redis-based realtime layer with Cloudflare Durable Objects, the founders concluded the architecture was right but the platform and APIs were 'needlessly rigid and difficult to use'. They rewrote the orchestrator off Nomad onto an in-house actor-like workflow engine, stripped Redis from non-caching paths, replaced Nebula with mTLS, and launched Rivet Actors — RPC, state and events over V8 isolates with FoundationDB persistence — in a 2024-12-20 Show HN that called it open-source actor infrastructure 'similar to Cloudflare's Durable Objects', now also open to non-gaming use. The thread (133 points, 26 comments) debated consistency guarantees, comparisons to Erlang/Akka/Orleans, and scope versus Cloudflare.
还没有结局,它还在跑。
背景
Rivet是一家开源基础设施公司,最初是游戏服务器管理平台:约99%的Rust代码,运行在Nomad、Redis和ClickHouse上,让多人游戏开发者'无需任何基础设施经验'即可部署专用服务器。两位自中学一起构建多人网页游戏的创始人,在反复重建服务器栈和DDoS/机器人缓解措施后,将其作为副项目启动;他们在2022年1月进入封闭测试,据称在2023年8月开源前拥有数百万月活跃用户。
该公司的第二幕是对原语的押注。在尝试用Cloudflare Durable Objects替换其基于Redis的实时层后,创始人发现架构有吸引力,但平台'不必要地僵化且难以使用'。因此他们在自研的类Actor工作流引擎上重写了调度器,从Nomad迁移,从非缓存路径中剥离Redis,并推出了Rivet Actors:具有RPC、状态和事件的持久进程,基于Rust、FoundationDB和V8隔离(TypeScript/Deno/Node),在Apache 2.0下开源,并以托管Rivet Cloud形式提供。
2024年12月20日的Show HN——'用Rust、FoundationDB、Isolates构建的Durable Objects'——获得133分和26条评论,创始人主张可自托管的开源Actor并支持主流语言,将击败封闭的Durable Objects以及Erlang/Akka/Orleans的学习曲线。到2026年9月5日的快照,该仓库拥有6.1k星,README以AI代理、协作应用和持久执行为首。
这件事要成立,得有什么
- 游戏服务器教会了他们真正的瓶颈——每个大厅的状态、实时同步和匹配——这恰恰是Actor的形状。
- Durable Objects验证了模型,但并未验证供应商:僵化的API和无法自托管促使Rivet构建自己的等价物。
- 开源加TypeScript/Deno/Node攻入了阻碍Erlang/Akka/Orleans几十年普及的采纳鸿沟。
- Actor同时涵盖游戏和AI代理,因此2024年的转向扩大了市场,没有抛弃现有游戏运行时的用户。
可借鉴之处
抄袭赢家的形态,攻击其封闭接缝:Rivet将Durable Objects的Actor模型重构为开源且可自托管,押注开发者会选择他们能拥有的原语。
后续进展
截至2026年9月5日的快照,rivet-gg/rivet仓库(现为rivet-dev/actors)活跃维护,有6,090次提交、6.1k星和245个复刻;其README现在以AI代理、协作文档和持久执行为首,而非游戏,平台以Apache-2.0自托管(Rust二进制或Docker,配合FoundationDB、Postgres或SQLite)以及全球边缘网络上的托管Rivet云提供。在所审阅的资料中未出现收入、融资或用户数字;创始人自己的帖子称早期游戏运行时已有数百万月活跃用户。
资料来源
- Show HN: Rivet – Open-source game server management with Nomad and Rust
- Show HN: Rivet Actors – Durable Objects built with Rust, FoundationDB, Isolates
发现哪里写错了?告诉我们。
轮到你了
你刚读完一家。说说你在做什么,看看谁在赌同一件事。
免费账号 · 3 次免费提问 · 不用绑卡