Company
Date Published
Author
Andy Woods
Word count
1839
Language
English
Hacker News points
None

Summary

CockroachDB emphasizes correctness, stability, and performance, with the latest version, CockroachDB 2.0, showcasing significant improvements in online transaction processing (OLTP) metrics such as throughput and latency. The database achieves a maximum throughput of 16,150 tpmC on a TPC-C dataset, marking a 62% improvement over its predecessor, CockroachDB 1.1, and demonstrates an 82% reduction in latency for the same workload. Utilizing serializable isolation by default, CockroachDB offers uncompromising safety without sacrificing performance, unlike many other databases that struggle under such conditions. The TPC-C benchmark, an industry standard for OLTP performance, validates these improvements, with CockroachDB 2.0 supporting up to 1,300 warehouses compared to 850 in version 1.1. CockroachDB is designed for survivability and global deployment, maintaining performance through features like "follow-the-workload" to mitigate distribution's impact. As the 2.0 release approaches, the company plans to publish detailed performance reports and encourages users to test the database themselves.