---
title: "High-Throughput OLTP in Three Simple Steps"
description: "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."
url: "https://swe.quest/articles/high-throughput-oltp-in-three-simple-steps-c736d1e2daeb9b69"
canonical: "https://tigerbeetle.com/blog/2026-09-17-performant-use-of-tigerbeetle"
source: "TigerBeetle"
published: "2026-09-17"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 7
tags: ["databases","performance","payments","data-structures"]
---

# High-Throughput OLTP in Three Simple Steps

A post on [TigerBeetle](https://swe.quest/sources/tigerbeetle.md), published 2026-09-17, 7 min read, Deep dive. Original: [https://tigerbeetle.com/blog/2026-09-17-performant-use-of-tigerbeetle](https://tigerbeetle.com/blog/2026-09-17-performant-use-of-tigerbeetle)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Databases](https://swe.quest/tags/databases.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Payments & fintech](https://swe.quest/tags/payments.md) (Domains)
- [Data structures](https://swe.quest/tags/data-structures.md) (Architecture & design)

## Prerequisites

- OLTP transactions ([easy posts on Consistency models](https://swe.quest/tags/consistency.md?difficulty=easy))
- double-entry accounting basics
- connection pooling

## Keywords

TigerBeetle, TBID, ULID, TPC-B, linked transfers, autobatching

## 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.
- [Turso 0.8: Concurrent writes without SQLite's single-writer bottleneck](https://swe.quest/articles/turso-0-8-concurrent-writes-without-sqlite-s-single-writer-bottleneck-12eb79dda642476c.md): Turso · 2026-09-29 · Medium · 6 min read · SQLite, Concurrency, Performance engineering, Storage engines, Query engines
  Turso 0.8 targets SQLite's single-writer bottleneck with BEGIN CONCURRENT, an MVCC mode where transactions start independently and commit in groups.
- [Batches in SQLite](https://swe.quest/articles/batches-in-sqlite-fe6e8274fcb63369.md): Turso · 2024-02-07 · Medium · 3 min read · SQLite, Performance engineering, Consistency models
  Batching SQL statements into a single request cuts latency sharply for remote SQLite via libSQL/Turso, where every query is a network round trip.
- [Open-sourcing TAOBench: An end-to-end social network benchmark](https://swe.quest/articles/open-sourcing-taobench-an-end-to-end-social-network-benchmark-d1487a3fe445aa76.md): Meta Engineering · 2022-09-07 · Easy · 3 min read · Distributed databases, Performance engineering, Open source
  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.
- [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.

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)
