superfly/corrosion
Gossip-based service discovery (and more) for large distributed systems. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 84
- Longevity 87
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1228
- days_rel: 111
- days_push: 7
- n_releases_24m: 4
Adoption not part of the score
1831 stars · 89 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Corrosion is a Rust-based distributed system that propagates SQLite state across a cluster using gossip (SWIM membership via Foca) and CRDT conflict resolution (CR-SQLite). Each node runs an agent exposing a local HTTP API for SQL reads/writes, query subscriptions, and QUIC-secured peer-to-peer sync.
Use cases
- service discovery across a large global network without a central state store
- replace Consul's central database with eventually consistent distributed state
- read cluster state locally with sub-millisecond latency instead of remote round-trips
- subscribe to SQL query results over HTTP streaming for live config updates
- populate configuration files from distributed state with Rhai templates
- run a multi-writer SQLite database that syncs across many nodes
When to choose
- you need fast, eventually consistent shared state across a large fleet of hosts
- round-trips to a centralized Raft-based store like Consul are too slow for your use case
- you want flexible schemas and SQL queries with local reads on every node
- you need live subscriptions to state changes for config generation
When to avoid
- you need strong/serializable consistency guarantees rather than eventual consistency
- your cluster is small enough that a conventional database or Consul works fine
- you need a general-purpose relational database with full SQLite feature coverage
- you require mature, battle-tested documentation and a large community
Facets
service · maturity active
database service-discovery http-server cli streaming caching microservices databases networking infrastructure-as-code self-hosted rust self-hosted cross-platform gossip-protocol swim crdt sqlite quic eventual-consistency cluster-membership consul-replacement linux macos
2 sources
- readme: https://github.com/superfly/corrosion · fetched 2026-08-28 · a2e31b9fb298
- homepage: https://superfly.github.io/corrosion/ · fetched 2026-08-29 · 4f5d8297d2da
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| superfly/corrosion | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="superfly/corrosion")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem