Tunable Consistency for High Performance
YugabyteDB supports the ability to configure follower reads to allow high performance apps to read timeline-consistent data from shard followers. This increasing throughput while lowering latency. CockroachDB supports only strongly consistent reads from shard leaders.
Read Replicas for Remote Regions
Raft observer nodes act as read replicas in remote regions thus ensuring low latency reads without adding inter-region latency to the write path. CockroachDB does not support read replicas, thus adding inter-region latency to the write path even when a remote region is read intensive.
Fast Distributed Backups and Restores
YugabyteDB distributed backups are designed to copy data from only the shard leaders using checkpoints without involving any of replicas at any time. CockroachDB requires a logical scan of the table in order to identify a consistent snapshot because it relies on the underlying RocksDB primitives as-is.
4.5x Higher Write Throughput & 7x Lower Latency
YugabyteDB outperformed CockroachDB 4.5x in terms of write throughput with 7x lower latency on SQL workloads. YugabyteDB is able to deliver these exceptional performance numbers because of its superior storage engine and replication layer implementation. Learn more.
More PostgreSQL Compatibility “Out-of-the-Box”
YugabyteDB supports distributed transactions, serializable and snapshot isolation, JOINs, foreign keys and features CockroachDB doesn’t, like User-Defined Types, stored procedures, triggers and partial indexes. Learn more.