YugabyteDB’s sharding, replication and transactions architecture is similar to that CockroachDB given that both are inspired by the Google Spanner design paper. Additionally, both use Raft as the distributed consensus replication algorithm and RocksDB as the per-node storage engine. The following sections highlight the advantages and similarities YugabyteDB has when compared with CockroachDB.
YugabyteDB beats CockroachDB in the context of multiple developer benefits including higher performance for large data sizes, better PostgreSQL compatibility, more flexible geo-distributed deployment options as well as higher data density. Following blogs highlight the architectural and implementation advantages that make these benefits possible.
Following blogs highlight how YugabyteDB works as an open source, cloud native Spanner derivative similar to CockroachDB.
Join the upcoming live webinar to review the comprehensive report that benchmarks YugabyteDB against CockroachDB while highlighting the architectural choices that enables YugabyteDB to have 3x higher throughput and 4.5x lower latency.