---
title: "A Trillion Transactions"
description: "Scale in OLTP is framed as survivability: a system cannot grow beyond the size it can recover, and when rebuild time (MTTR) exceeds time between failures it enters a death spiral."
url: "https://swe.quest/articles/a-trillion-transactions-e7d0b4d73685ef18"
canonical: "https://tigerbeetle.com/blog/2026-03-19-a-trillion-transactions"
source: "TigerBeetle"
published: "2026-03-19"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 9
tags: ["system-design","scalability","storage-engines","replication","databases"]
---

# A Trillion Transactions

A post on [TigerBeetle](https://swe.quest/sources/tigerbeetle.md), published 2026-03-19, 9 min read, Opinion. Original: [https://tigerbeetle.com/blog/2026-03-19-a-trillion-transactions](https://tigerbeetle.com/blog/2026-03-19-a-trillion-transactions)

## Summary

Scale in OLTP is framed as survivability: a system cannot grow beyond the size it can recover, and when rebuild time (MTTR) exceeds time between failures it enters a death spiral. The post traces seven stages of OLTP architecture: log, snapshots, LSM tree, replicated state machine with Viewstamped Replication, sharding, and storage/compute separation, showing what each one breaks. Sharding destroys cache locality under contention (Amdahl's Law), and object storage is too slow for hot transactions. The proposed alternative is "diagonal scaling": keep a bounded hot working set (say 16 TiB) in a non-sharded replicated state machine on NVMe, and tier the lower LSM levels to object storage, which bounds recovery time while storage scales to petabytes. The text stops before reporting the results of TigerBeetle's trillion-transaction test.

Written by swe.quest, not by the author.

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

## Topics

- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)
- [Storage engines](https://swe.quest/tags/storage-engines.md) (Data & databases)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)
- [Databases](https://swe.quest/tags/databases.md) (Data & databases)

## Prerequisites

- OLTP and ACID transactions ([easy posts on Consistency models](https://swe.quest/tags/consistency.md?difficulty=easy))
- LSM trees ([easy posts on Storage engines](https://swe.quest/tags/storage-engines.md?difficulty=easy))
- replication and consensus basics ([easy posts on Replication](https://swe.quest/tags/replication.md?difficulty=easy))

## Keywords

TigerBeetle, Viewstamped Replication, LSM tree, strict serializability, object storage, diagonal scaling, Amdahl's Law

## Related posts

- [Rediscovering Transaction Processing From History and First Principles](https://swe.quest/articles/rediscovering-transaction-processing-from-history-and-first-principles-7a5a2c6c3ea0ae42.md): TigerBeetle · 2024-07-23 · Easy · 9 min read · Databases, Consistency models, Payments & fintech, Performance engineering, System design
  General-purpose OLTP databases hit a hard throughput ceiling on debit/credit workloads because row locks are held across multiple network round-trips, and hot rows such as a few internal accounts serialize nearly every transaction.
- [Scale without limits: Multigres, OrioleDB, and dbarena](https://swe.quest/articles/scale-without-limits-multigres-orioledb-and-dbarena-9dcab6dd01f060fc.md): Supabase · 2026-10-02 · Easy · 4 min read · PostgreSQL, Storage engines, Replication, Performance engineering
  Supabase launched three Postgres scaling efforts. Multigres, from the Vitess team, adds built-in connection pooling and automated failover across three availability-zone nodes, using a consensus protocol over synchronous replication so no committed write is lost.
- [WAL + S3: Lakebase storage for the era of agents](https://swe.quest/articles/wal-s3-lakebase-storage-for-the-era-of-agents-3f04922da0e40ff3.md): Neon · 2026-08-24 · Hard · 15 min read · PostgreSQL, Storage engines, Storage systems, Data structures, Replication
  Lakebase Postgres (Neon's architecture) treats the Postgres write-ahead log as the source of truth and data pages as a derived cache, splitting the system into stateless compute running unmodified Postgres and a storage layer of Paxos-replicated safekeepers, pageservers, and S3.
- [HTAP is Dead](https://swe.quest/articles/htap-is-dead-b9716ca0a725ab08.md): Neon · 2025-05-04 · Easy · 4 min read · Analytics & OLAP, Databases, Data pipelines, System design
  HTAP as a single-database architecture never reached product-market fit, even though systems like SingleStore and TiDB proved row and column storage could be combined.
- [Litestream Revamped: SQLite Replication](https://swe.quest/articles/litestream-revamped-sqlite-replication-0708888533a47bfa.md): Fly.io · 2025-05-20 · Medium · 6 min read · SQLite, Replication, Storage engines, Storage systems
  Litestream is being reworked around ideas from LiteFS. It replaces the raw-WAL "shadow WAL" with transaction-aware LTX files, sorted page changesets that can be compacted LSM-style, so point-in-time restores no longer replay every intermediate page write.

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)
