Cloudflare Containers 重构以扩展 agent 沙箱
原标题:Cloudflare Containers, rebuilt to scale agent sandboxes
AI 摘要
Cloudflare 重新架构了 Cloudflare Containers,使其更适合 agent 沙箱工作负载。新调度策略 durable_object 允许代码在运行时选择每个沙箱的镜像和实例类型,容器启动速度提升 6 倍以上,中位启动时间从 4 秒多降至 648 毫秒,并推出文件系统快照公开测试版。该更新旨在满足 agent 按需创建、快速启动、暂停恢复沙箱的需求,并已应用于 Base44、Kilo Code 等集成场景。
正文节选
Today, we’re making Cloudflare Containers more programmable and optimized for agent workloads. Agents don't deploy sandboxes ahead of time. They create sandboxes on demand, for each task, expect them to be ready immediately, and be able to pause and resume. So we rearchitected Containers to meet these requirements: your code can now choose each sandbox's image and instance type at runtime, Containers start 6x faster, and filesystem snapshots are available in public beta. To make this possible, w