Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sources

TigerBeetle

2026

TigerBeetle

High-Throughput OLTP in Three Simple Steps

Deep dive 7 min +70 XP

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

Index, Count, Offset, Size

Opinion 3 min +30 XP

TigerBeetle uses a strict naming convention to catch off-by-one and index-space bugs that types don't easily prevent: `count` is a number of items, `index` points at an item (invariant `index < count`), `size` is a byte count (`size = @sizeOf(T) * count`), and `offset` is the bytewise counterpart of index. `length` is banned because it is ambiguous, for example Rust's byte-size `str::len` versus Python's code-point `len`.

2025

2024

The quest for software engineering knowledge.

Look:
Layout: