A Trillion Transactions
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.
Related posts
- Rediscovering Transaction Processing From History and First Principles
TigerBeetle easyNoviceGeneral-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. Jim Gray's 1985 DebitCredit benchmark anticipated this, defining transaction processing in terms of double-entry bookkeeping. TigerBeetle makes debit/credit a first-class primitive: 128-byte transfers are batched up to 8000 per 1 MiB request, amortizing round-trips and eliminating row locks. It also emphasizes safety through Protocol-Aware Recovery, static memory allocation, 6000+ assertions and deterministic simulation testing. The post doubles as the announcement of a $24M Series A.
- Scale without limits: Multigres, OrioleDB, and dbarena
Supabase easyNoviceSupabase 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. It is in private alpha. OrioleDB, in public beta, is a storage engine that replaces heap storage with a page-level undo log, removing bloat and the need for VACUUM, and uses 64-bit transaction IDs to avoid wraparound; it reports up to 1.8x heap throughput on TPC-C-derived benchmarks and can be chosen per table with USING orioledb. dbarena publishes reproducible, cost-normalized benchmarks comparing Supabase, RDS and Cloud SQL.
- WAL + S3: Lakebase storage for the era of agents
Neon hardMaster
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. Commits are acknowledged once a quorum of safekeepers has the WAL, while pageservers asynchronously materialize immutable image and delta layers into object storage and serve GetPage@LSN requests by replaying WAL onto the nearest image. Finding the right layer among tens of millions uses a persistent binary search tree with path copying, so historical reads at any LSN cost the same as latest reads. Because queries hit RAM, local NVMe, then the pageserver, and never S3 directly, the design avoids object-storage latency while making branching, instant point-in-time restore, and time-travel queries pointer operations whose cost does not depend on database size.
- HTAP is Dead
Neon easyNovice
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. The reasons given: replacing an incumbent OLTP system is very hard, most transactional workloads fit on one large machine, the cloud favored shared-disk object storage over shared-nothing designs, and OLTP and OLAP belong to different teams. The HTAP need now lives in the composed data stack, where OLTP systems and stream processors act as the WAL, Iceberg serves as storage, Spark or Trino handle execution, and ClickHouse or Elastic act as indexes. The open problem has become making the lakehouse real-time, mainly through efficient CDC into the lake and keeping indexes in sync.
- Litestream Revamped: SQLite Replication
Fly.io mediumAdeptLitestream 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. Conditional writes in S3 and Tigris provide a time-based lease that guarantees a single writer per destination without Consul, which removes the need for multiple "generations" and makes failover and replica resync simpler. Planned additions are a VFS-based read-replica layer that fetches and caches pages straight from object storage, and wildcard replication of hundreds or thousands of databases from one process.