finds.dev

cockroachdb/cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

View on GitHubHomepage ↗

★ 32,576GoNOASSERTIONupdated Oct 2026

// compared · The best open source SQL databases, by workloadSee the alternatives →

// the take

CockroachDB is a distributed SQL database that speaks the Postgres wire protocol while handling horizontal scaling and multi-region replication under the hood. It's aimed at teams building applications that need strong consistency plus geographic distribution without hand-rolling sharding logic.

The architecture docs and design writeups (serializable isolation, consensus, HLC clocks) are genuinely deep and explain real engineering tradeoffs rather than marketing claims. The Bazel-based build system and massive test/static-analysis tooling (hundreds of staticcheck analyzer wrappers, roachtest, custom Claude agent configs for reviewing commits) show a codebase that takes correctness and CI seriously at scale. Postgres wire compatibility means existing drivers and ORMs mostly just work.

License changed to the CockroachDB Software License in late 2024, so this is no longer a fully open-source project for all use cases - check the terms before assuming Apache-style freedom. The build is heavy (Bazel, large monorepo, custom tooling) and building from source is nontrivial compared to simpler Go projects. Operationally this is a serious distributed system - expect a real learning curve around range splits, rebalancing, and multi-region config, not a drop-in Postgres replacement for casual use.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
32,576
Forks
4,157
Language
Go
License
NOASSERTION
Last commit
15 Oct 2026

// nearby

If cockroach isn't quite it.

All repos →