Fly is starting to do public releases for Corrosion and shipped v1.0.0! 🚀
It’s a gossip-based eventually consistent distributed SQLite they use for service discovery that replaced Consul.
In a nutshell:
- maintains an SQLite db on each node
- gossips local changes throughout the cluster
- uses SWIM protocol to manage cluster membership and CRDTs for conflict resolution
- periodically synchronises with a subset of cluster nodes to ensure consistency
v1.0.0 introduces numerous performance improvements but also breaking changes.
What I love most about Corrosion is that you can subscribe to an SQL query and receive updates when the data in the local replica changes.
This works like an event bus - different processes or controllers can watch and react to changes.
一个用 Rust 写的沙箱平台,让多个 AI 编程代理在隔离虚拟机里跑,不用把 API 密钥暴露给代理
https://t.co/Xzcyfjhaxz
SuperHQ 用 Rust 和 GPUI 搭了个沙箱环境,能同时跑 Claude Code、OpenAI Codex、Pi 等多个 AI 编程代理。每个代理关在自己的虚拟机里,有自己的文件系统、网络和资源配额。代理要调 API 时,请求先到主机上的认证网关,网关帮忙注入密钥再转发出去,代理本身碰不到真实凭证。