---
title: "Open-sourcing TAOBench: An end-to-end social network benchmark"
description: "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."
url: "https://swe.quest/articles/open-sourcing-taobench-an-end-to-end-social-network-benchmark-d1487a3fe445aa76"
canonical: "https://engineering.fb.com/2022/09/07/open-source/taobench/"
source: "Meta Engineering"
published: "2022-09-07"
difficulty: "easy"
kind: "Research"
reading_minutes: 3
tags: ["distributed-databases","performance","open-source"]
---

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

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2022-09-07, 3 min read, Research. Original: [https://engineering.fb.com/2022/09/07/open-source/taobench/](https://engineering.fb.com/2022/09/07/open-source/taobench/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Distributed databases](https://swe.quest/tags/distributed-databases.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- distributed databases ([easy posts on Distributed databases](https://swe.quest/tags/distributed-databases.md?difficulty=easy))
- database transactions ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

TAOBench, TAO, Cloud Spanner, CockroachDB, PlanetScale, TiDB, YugabyteDB

## Related posts

- [RAMP-TAO: Layering atomic transactions on Facebook’s online graph store](https://swe.quest/articles/ramp-tao-layering-atomic-transactions-on-facebook-s-online-graph-store-470552a388260a08.md): Meta Engineering · 2021-08-18 · Hard · 2 min read · Consistency models, Distributed databases, Caching, Distributed systems
  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.
- [How we stress test and benchmark CockroachDB for global scale](https://swe.quest/articles/how-we-stress-test-and-benchmark-cockroachdb-for-global-scale-c91349f449ee5881.md): Cockroach Labs · 2024-01-25 · Easy · 8 min read · Distributed databases, Performance engineering, Scaling, Testing
  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.
- [Introducing DBArena: open, reproducible benchmarks for hosted Postgres](https://swe.quest/articles/introducing-dbarena-open-reproducible-benchmarks-for-hosted-postgres-fcea976f1f3d4cee.md): Supabase · 2026-10-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Cloud platforms, Cost optimization
  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.
- [PostgresBench: A Reproducible Benchmark for Postgres Services](https://swe.quest/articles/postgresbench-a-reproducible-benchmark-for-postgres-services-3a30213211ea6b71.md): ClickHouse · 2026-04-02 · Medium · 9 min read · PostgreSQL, Performance engineering, Storage systems, Cloud platforms
  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.
- [High-Throughput OLTP in Three Simple Steps](https://swe.quest/articles/high-throughput-oltp-in-three-simple-steps-c736d1e2daeb9b69.md): TigerBeetle · 2026-09-17 · Medium · 7 min read · Databases, Performance engineering, Payments & fintech, Data structures
  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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
