Corrosion: gossip-based service discovery using SQLite and CRDTs
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Fly.io's Corrosion lets engineers replace heavyweight service discovery stacks like Consul or etcd with a single Go binary backed by SQLite, making decentralised coordination far cheaper to run.
Corrosion is a free, open-source tool from Fly.io that helps computers in a network automatically find and share information about each other's services. Unlike traditional systems that need a central 'boss' server, each machine keeps its own small database and periodically swaps notes with random neighbours, settling conflicts automatically. It is aimed at small clusters, home labs and unreliable networks, and it stores everything in SQLite so any service information can be queried with ordinary database commands.
Fly.io has open-sourced Corrosion, a service discovery tool its own infrastructure uses in production, offering a lighter alternative to etcd or Consul for teams that do not need full consensus. There is no control plane or sidecar to operate: each node runs one binary with a small HTTP API. Cost and operational burden drop for small clusters and edge deployments, but established incumbents remain safer bets for organisations needing strong guarantees.
Corrosion, written in Go by Fly.io (superfly/corrosion), uses UDP gossip to exchange CRDT state diffs between nodes, with hybrid logical clocks making last-writer-wins resolution meaningful across skewed clocks. Local state lives in SQLite, so service metadata is persistent and queryable with SQL joins. No leader or Raft consensus is involved; nodes converge even across partitions. No benchmark numbers are given; the HTTP API and setup commands are documented in the repo.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.