CockroachDB
More info
- Creator
- Spencer Kimball, Peter Mattis, Ben Darnell
- Released
- Owner
- Cockroach Labs
- Type
- Distributed SQL database
- License
- BSL / CockroachDB Community License
- Website
- cockroachlabs.com
- Source
- github.com/cockroachdb/cockroach
- Wikipedia
- en.wikipedia.org
Distributed SQL database inspired by Google Spanner — Postgres-compatible wire protocol, transparent sharding, geo-replication, serializable transactions.
Founded in 2015 by ex-Google engineers. Data is split into 512 MiB "ranges", each replicated with Raft across 3+ nodes. Time sync via hybrid logical clocks (not TrueTime like Spanner). Survival goals: survive node, zone or region failures with no data loss.
Licensing flipped in 2024 to "no free tier for production" — fork debate ongoing. Competitor: YugabyteDB (same idea, more Postgres-compatible internally).