Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Cockroach Labs 5 min read Announcement hardMaster

CockroachDB Redefines Database Performance with Real-World Testing

Cockroach Labs argues that traditional benchmarks like TPC-C, designed in 1992, measure peak throughput in pristine lab conditions and end the test once a power pull disrupts steady state, so they say nothing about behavior during failures, maintenance or recovery. Their proposed "Performance under Adversity" methodology runs seven escalating phases in one continuous run: baseline, internal operational stress (CDC, backups, schema changes, rolling upgrades), disk stalls, network failures, node restarts, zone outages and regional outages, measuring tpmC throughput, p90/p95 latency and recovery time to baseline. The runs used CockroachDB 25.1 across three geographic regions with fault scripts published in the repository, though they depend on internal tooling and cloud accounts and cannot be run as-is. The accompanying interactive dashboard replays the scenarios; no comparative results against other databases are given.

Related posts

  • How we stress test and benchmark CockroachDB for global scale

    Cockroach Labs easyNovice

    CockroachDB is exercised on a regular cadence of daily, weekly and per-release benchmarks, plus ad hoc and customer-partnered tests, mainly TPC-C, TPC-E and a YCSB-like KV workload. Reported figures include about 3,000–3,500 txn/s on a 3-node TPC-C cluster and 1.7M tpmC on 81 nodes. KV write throughput scaled from 160k QPS on 20 nodes to 1.2M QPS on 200 nodes, and TPC-E reached 40K txn/s on 96 nodes. Long-running release tests run workloads while backups, changefeeds, upgrades, schema changes and regional failures happen concurrently. That testing led to a recommendation not to use expiration-based leases above 10,000 ranges per node.

  • Benchmarks and Obscurantism: A “red” line that should not be crossed

    ClickHouse mediumAdept

    ClickHouse disputes a Databricks keynote benchmark that showed ClickHouse "crashing" around 1,200-1,500 QPS next to the new gated Reyden low-latency compute product. Databricks disclosed no hardware, cost, configuration or cache settings. Reproducing the test with TPC-H SF1 Q6, a single untuned 30 vCPU node sustained about 420 QPS at sub-second P90. Under overload it hit the 1,000 concurrent query limit and rejected queries rather than crashing, and reaching 15,000 QPS took roughly 30-40 nodes. The broader argument is that benchmarks are only meaningful when they are open and reproducible, and tiny in-memory datasets say little about performance at scale.

  • Introducing DBArena: open, reproducible benchmarks for hosted Postgres

    Supabase mediumAdept

    DBArena publishes open, reproducible benchmarks of hosted Postgres, starting with Supabase Postgres (heap and OrioleDB), Amazon RDS and Google Cloud SQL across up to seven vCPU-matched tiers on Postgres 17 with default configs. A TPC-C-derived workload with no think time runs in cache-fit and 4x-RAM cache-exceeding scenarios, sweeping client counts to find peak throughput and reporting tpm, tpm per dollar of list price, and p95 latency as the median of three fresh-environment runs. Every result ships a result.json with exact commands and config, and open-source tools (dbarenactl, benchctl, a go-tpc fork) let anyone rerun tests. Limitations include a single workload, one region per cloud, list pricing, vCPU-based matching, and Supabase load generators not being AZ-colocated.

  • How we systematically improved our reliability

    Neon mediumAdept

    After two control-plane incidents in one week, each triggered by an external dependency failure that turned into a self-reinforcing loop, Neon rebuilt how it runs reliability for Lakebase Postgres across 70+ cells on three clouds. Postmortems now start with quantified impact, track detection and mitigation times, and use branching 5 Whys trees that end in specific, closable action items. The fixes, more than 30 over three months, covered query-plan regressions and long-running transactions in the control-plane Postgres, inherited TCP timeout and connection-pool defaults, and broken backpressure and fairness under load. To catch failures before they reach customers, each change now gets a risk score (probability × impact) that sets how many checks it must pass across design, build, release and operate, including premortems, rollback tests, staged rollouts and on-call drills.

  • How Neon's lakebase architecture stays resilient to cloud failures

    Neon mediumAdept

    Neon (and Databricks Lakebase) hardens its serverless Postgres against cloud failures by keeping Postgres compute stateless over zone-redundant storage, so failed computes are replaced instantly without hot standbys or WAL replay. Because agents now start tens of millions of databases daily, the start/suspend path of the control plane is being split into a minimal-dependency data plane controller. Further measures include avoiding cloud provider control planes on the hot path via pre-allocated bare-metal pools and a custom autoscaling virtualization layer, and cell-based regions that limited a May 2026 us-east-1 AZ incident to ~13% of databases. Chaos testing, whole-AZ disconnect simulations targeting under 30s of downtime, and per-database SLIs with 99.99% monthly attainment tracking round out the approach.

The quest for software engineering knowledge.

Look:
Layout: