Mainbrella 使用幂等键来阻止代理重试创建重复的机器

创始人 Andrew Arrow 在 10月7日的工程博文中详细说明了该服务如何在云端 Linux 工作区中处理丢失的回复、延迟的命令以及其他故障。

By · Published

Primary source: Mainbrella Engineering

为何重要

代理沙箱必须在丢失回复的情况下恢复,而不会重复创建机器、命令或产生额外的计算费用。Mainbrella 的开源实现使重试规则可检查,而其发布的测试检查的是独占准入和并行配置,而不是在生产规模下的可靠性。

Mainbrella uses idempotency keys to stop agent retries spawning duplicate machines — Founder Andrew Arrow's October 7th engineering post details how the service handles lost replies, delayed commands and other failures in cloud Linux…

Andrew Arrow 正在围绕一个小而代价高昂的故障构建 Mainbrella:云端机器启动了,但响应丢失,代理通过创建另一台机器来重试。在一篇于 10 月 7 日发布的工程文章中,Arrow 阐明了 Mainbrella 用来使这些重试更安全的控制措施,从在引导前保留容量到在系统无法判断发生了什么时拒绝重放工作。

Mainbrella 出售 AI 代理可以通过 API 创建并控制的 Linux 工作区。其 主页 列出其 Builder 计划为每月 5 美元。文章认为,使机器可用只是服务的一部分:代理还需要知道它拥有哪些机器、命令是否已运行以及重试是否会重复工作或造成开销。…

When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.

Reader comments

Conversation for this story loads after sign-in.