---
title: "Rediscovering Transaction Processing From History and First Principles"
description: "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."
url: "https://swe.quest/articles/rediscovering-transaction-processing-from-history-and-first-principles-7a5a2c6c3ea0ae42"
canonical: "https://tigerbeetle.com/blog/2024-07-23-rediscovering-transaction-processing-from-history-and-first-principles"
source: "TigerBeetle"
published: "2024-07-23"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 9
tags: ["databases","consistency","payments","performance","system-design"]
---

# Rediscovering Transaction Processing From History and First Principles

A post on [TigerBeetle](https://swe.quest/sources/tigerbeetle.md), published 2024-07-23, 9 min read, Opinion. Original: [https://tigerbeetle.com/blog/2024-07-23-rediscovering-transaction-processing-from-history-and-first-principles](https://tigerbeetle.com/blog/2024-07-23-rediscovering-transaction-processing-from-history-and-first-principles)

## Summary

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

Written by swe.quest, not by the author.

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

## Topics

- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Consistency models](https://swe.quest/tags/consistency.md) (Distributed systems)
- [Payments & fintech](https://swe.quest/tags/payments.md) (Domains)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- database transactions and locking ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))
- OLTP basics

## Keywords

TigerBeetle, Jim Gray, DebitCredit benchmark, Protocol-Aware Recovery, deterministic simulation, TPC

## Related posts

- [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.
- [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.
- [Birth and death of a row in Turso's MVCC](https://swe.quest/articles/birth-and-death-of-a-row-in-turso-s-mvcc-f60b68028888940e.md): Turso · 2026-10-19 · Hard · 14 min read · Storage engines, SQLite, Consistency models, Databases
  Turso's MVCC, modeled on Hekaton, tracks each row as a chain of versions in a lock-free SkipMap, with begin/end fields holding a TxId while a transaction is active and a commit timestamp once it commits.
- [We replaced Redis with MySQL for inventory reservations—and it scaled](https://swe.quest/articles/we-replaced-redis-with-mysql-for-inventory-reservations-and-it-scaled-2f8fab4ab3565f02.md): Shopify Engineering · 2026-05-12 · Medium · 10 min read · MySQL, E-commerce, Concurrency, Scaling, Performance engineering
  Shopify moved checkout inventory reservations from Redis to MySQL by modeling one row per sellable unit and using SELECT ...
- [A Trillion Transactions](https://swe.quest/articles/a-trillion-transactions-e7d0b4d73685ef18.md): TigerBeetle · 2026-03-19 · Easy · 9 min read · System design, Scaling, Storage engines, Replication, Databases
  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.

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)
