Skip to content

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

Meta Engineering 3 min read Research easyNovice

Open-sourcing TAOBench: An end-to-end social network benchmark

TAOBench is an open-source benchmark that reproduces Meta's social graph workload from TAO, a read-optimized, geo-distributed store serving over 10 billion requests per second on petabytes of data. A small set of parameters, including transaction size, key-to-shard mapping and operation-type frequencies, is enough to downscale production request patterns and model emergent application behavior, and the workloads are validated against production. Meta uses it to test new transaction use cases, lock contention, new APIs and high fan-out transactions. The release includes results for Cloud Spanner, CockroachDB, PlanetScale, TiDB and YugabyteDB, which show how the benchmark exposes performance tradeoffs.

Related posts

  • RAMP-TAO: Layering atomic transactions on Facebook’s online graph store

    Meta Engineering hardMaster

    RAMP-TAO is a protocol that layers read-atomic transactional guarantees on top of TAO, Facebook's eventually consistent social graph store, so developers get an intuitive read transaction API without handling fractured-read anomalies. Adapted from Read Atomic Multi-Partition (RAMP) protocols in a "bolt-on" style, it guards only recent, transactionally updated data and relies on eventual consistency for everything else, so non-transactional workloads pay no cost. Production feasibility results show 0.42% memory overhead, over 99.9% of reads completing in one round-trip to the local cache, and tail latency on par with existing TAO reads. The layered design is cache-friendly, hotspot tolerant and proposed as applicable to other read-optimized stores.

  • 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.

  • 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.

  • PostgresBench: A Reproducible Benchmark for Postgres Services

    ClickHouse mediumAdept

    PostgresBench is an open, reproducible benchmark for managed Postgres services built on pgbench's TPC-B-like workload (256 clients, 16 threads, 10-minute runs, three runs each) at ~100 GB and ~500 GB scale factors, with default configs, HA disabled and all services in us-east-2. In the first cohort, ClickHouse's NVMe-backed managed Postgres reached about 28.7K TPS on 16 vCPU/64 GB at 100 GB, versus 14.8K for Crunchy Bridge, 12.6K for Aurora, 8.6K for Neon and 8.1K for RDS, and held about 26K TPS at 500 GB. ClickHouse attributes the lead to co-located local NVMe storage, which avoids network round trips on every fsync and WAL commit in write-heavy workloads. Scripts and raw JSON results are on GitHub for verification and community submissions, though the vendor-run setup and absence of pricing comparisons are worth weighing.

  • High-Throughput OLTP in Three Simple Steps

    TigerBeetle mediumAdept

    Migrating a TPC-B-style bank workload (accounts, tellers, branches, history) from a general-purpose SQL model to TigerBeetle yields roughly 100x throughput when three techniques are applied: modeling each transaction as linked debit/credit transfers with an aggregate account, relying on batching instead of client concurrency, and using monotonic time-based IDs. TigerBeetle clients allow one outstanding request and automatically batch operations (up to 8,189 per request) while waiting, so many goroutines sharing one thread-safe client reach about 454k transactions (909k transfers) per second, whereas adding more clients does not help. Random UUID transfer IDs force index lookups for idempotency checks, while ULID-like TBIDs make the check a cheap monotonicity comparison. A relational database with stored procedures reached about 7k TPS in the same comparison, a gap attributed to avoiding row-level locks, batched execution and parallel server I/O.

The quest for software engineering knowledge.

Look:
Layout: