---
title: "TigerBeetle (medium)"
description: "Posts from TigerBeetle on swe.quest."
url: "https://swe.quest/sources/tigerbeetle?difficulty=medium"
---

# TigerBeetle (medium)

Posts from [TigerBeetle](https://tigerbeetle.com/blog), newest first.

Posts 1–20 of 20, page 1 of 1, newest first.

## 2026-09-17

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

## 2026-04-24

- [Toolchain Horizons: Exploring Rust Dependency-Toolchain Compatibility](https://swe.quest/articles/toolchain-horizons-exploring-rust-dependency-toolchain-compatibility-42cd6678afe4d470.md): TigerBeetle · 2026-04-24 · Medium · 10 min read · Rust, Build systems, Open source, Supply chain security
  Testing the top 100 crates.io crates by binary-searching Rust releases 1.0–1.94 for the oldest toolchain where \`cargo check\` succeeds suggests any given Rust compiler stays viable for a dependency-using project for only about two years.

## 2026-04-14

- [Automation That Screams Joy](https://swe.quest/articles/automation-that-screams-joy-12ca888c10f15b42.md): TigerBeetle · 2026-04-14 · Medium · 3 min read · Developer productivity, Deployment, Testing, Zig
  Custom automation that doesn't fit CI, such as TigerBeetle's fleet running the VOPR deterministic simulation fuzzer, works best when it lives in the main repository, is written in the project's own language, and auto-deploys from the tip of main.

## 2026-02-16

- [Index, Count, Offset, Size](https://swe.quest/articles/index-count-offset-size-8c9106813a691acc.md): TigerBeetle · 2026-02-16 · Medium · 3 min read · Zig, Debugging, Type systems
  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\`.

## 2026-01-14

- [One for the Treble, Two for the Time](https://swe.quest/articles/one-for-the-treble-two-for-the-time-c03cd49395ab2de8.md): TigerBeetle · 2026-01-14 · Medium · 5 min read · Payments & fintech, Time & clocks, Databases, Event-driven architecture
  Bitemporal modelling lets an immutable, append-only ledger like TigerBeetle correct past mistakes: record every fact as soon as it is learned, tagged with both a recorded timestamp and an effective timestamp.

## 2025-11-06

- [The Write Last, Read First Rule](https://swe.quest/articles/the-write-last-read-first-rule-6fa0042a5ce38b5c.md): TigerBeetle · 2025-11-06 · Medium · 8 min read · Consistency models, Distributed systems, Payments & fintech, Resilience, TypeScript
  When an application spans two stores without a shared transaction boundary, such as Postgres for account master data and TigerBeetle for the ledger, one must be designated the system of record and the other the system of reference.

## 2025-10-21

- [Tracking Time Without Clock](https://swe.quest/articles/tracking-time-without-clock-7964e27d177f0db1.md): TigerBeetle · 2025-10-21 · Medium · 2 min read · Time & clocks, Testing, Zig, System design
  Instead of threading a full virtualized Clock interface through every component, two lighter patterns often suffice for handling time in reliable systems.

## 2025-08-04

- [Code Review Can Be Better](https://swe.quest/articles/code-review-can-be-better-2739fb600c90a5b6.md): TigerBeetle · 2025-08-04 · Medium · 4 min read · Code review, Version control, Developer tools
  TigerBeetle shelved git-review, an experiment that stored code review as a single commit of inline marked comments on top of the PR branch, edited by author and reviewer and reverted once all threads were resolved.

## 2025-04-23

- [Swarm Testing Data Structures](https://swe.quest/articles/swarm-testing-data-structures-dcd11950dc8316b7.md): TigerBeetle · 2025-04-23 · Medium · 5 min read · Testing, Zig, Data structures
  Zig's comptime reflection (std.meta.DeclEnum) can turn a data structure's public API into an enum that drives a model-based property test, so adding a new public method triggers a compile error from the non-exhaustive switch until the test covers it.

## 2025-02-27

- [Why We Designed TigerBeetle's Docs from Scratch](https://swe.quest/articles/why-we-designed-tigerbeetle-s-docs-from-scratch-671fe3cbec15ed75.md): TigerBeetle · 2025-02-27 · Medium · 14 min read · Zig, Build systems, Documentation, Supply chain security
  TigerBeetle replaced its Docusaurus docs site with a custom static site generator built on Zig's build system and Pandoc.

## 2025-02-13

- [A Descent Into the Vörtex](https://swe.quest/articles/a-descent-into-the-vortex-6dcd52020263ac13.md): TigerBeetle · 2025-02-13 · Medium · 3 min read · Testing, Chaos engineering, Distributed databases, Zig
  TigerBeetle has added Vortex, a non-deterministic, generative full-system test harness that complements its Deterministic Simulation Testing by exercising real production binaries and client libraries from the outside in.

## 2024-12-19

- [Enum of Arrays](https://swe.quest/articles/enum-of-arrays-39cf1c2fe738e424.md): TigerBeetle · 2024-12-19 · Medium · 3 min read · Performance engineering, Data structures, Zig, Hardware
  Struct-of-Arrays has a dual for tagged unions: an Enum of Arrays, where one tag covers a whole batch of homogeneous payloads instead of each element carrying its own tag.

## 2024-05-14

- [Snapshot Testing For the Masses](https://swe.quest/articles/snapshot-testing-for-the-masses-1d23ec44f416430c.md): TigerBeetle · 2024-05-14 · Medium · 8 min read · Testing, Zig, Developer tools
  A minimal snapshot testing library can be built without macros, external tools or editor integration: the core primitive is a self-updating string literal that records its source file and line (via Zig's @src()) and rewrites itself in place on mismatch.

## 2023-12-27

- [It Takes Two to Contract](https://swe.quest/articles/it-takes-two-to-contract-371fa399d9d81617.md): TigerBeetle · 2023-12-27 · Medium · 6 min read · Zig, Testing, Consensus, Distributed systems, Language design
  Design by contract mostly reduces to types and assertions, but a real contract needs two parties: the same condition asserted at both the definition site and the call site.

## 2023-09-19

- [64-Bit Bank Balances ‘Ought to be Enough for Anybody’?](https://swe.quest/articles/64-bit-bank-balances-ought-to-be-enough-for-anybody-8d02b22f3ee30543.md): TigerBeetle · 2023-09-19 · Medium · 8 min read · Payments & fintech, Databases, Performance engineering, API design
  TigerBeetle moved all amounts and balances from 64-bit to 128-bit unsigned integers because sub-cent precision (micro-cents, fuel prices, stock ticks, micropayments, digital currencies), long-lived accumulating balances and even hyperinflation can exceed 64-bit range.

## 2023-07-26

- [Copy Hunting](https://swe.quest/articles/copy-hunting-7c2f19f97f1f7edc.md): TigerBeetle · 2023-07-26 · Medium · 11 min read · Zig, Compilers, Performance engineering, Debugging, Developer tools
  Reading Zig's emitted LLVM IR as plain text and grepping it is a practical substitute for staring at disassembly when chasing implicit memcopies and binary bloat.

## 2023-03-28

- [Random Fuzzy Thoughts](https://swe.quest/articles/random-fuzzy-thoughts-74b3f2f1b21a2499.md): TigerBeetle · 2023-03-28 · Medium · 9 min read · Testing, Formal methods, Distributed systems, Zig
  Treating a fuzzer's byte slice as a finite PRNG unifies coverage-guided fuzzing with structured property-based testing: the entropy length measures input complexity, gives test-case minimization almost for free, and tells interactive simulations when to stop injecting faults.

## 2023-02-21

- [Writing High-Performance Clients for Tigerbeetle](https://swe.quest/articles/writing-high-performance-clients-for-tigerbeetle-359130491cf9dbd8.md): TigerBeetle · 2023-02-21 · Medium · 6 min read · Zig, API design, Performance engineering, Java & JVM, Memory management
  TigerBeetle builds every language client as a thin wrapper over a single Zig client library, tb\_client, exposed through FFI.

## 2022-10-12

- [A Database Without Dynamic Memory Allocation](https://swe.quest/articles/a-database-without-dynamic-memory-allocation-4be7684fa723cb5d.md): TigerBeetle · 2022-10-12 · Medium · 6 min read · Memory management, Zig, Databases, Storage engines, Testing
  TigerBeetle allocates all memory once at startup and never again, using fixed limits for connections, in-flight messages per client, replicas, message size and queries per message so that total memory is a simple compile-time sum.

## 2021-08-30

- [Three Clocks are Better than One](https://swe.quest/articles/three-clocks-are-better-than-one-10703f0b75ab21bf.md): TigerBeetle · 2021-08-30 · Medium · 5 min read · Time & clocks, Distributed systems, Linux
  TigerBeetle builds a fault-tolerant "cluster time" by measuring clock offsets to peers during keepalive probes.

Same list as RSS: [https://swe.quest/feed.xml?source=tigerbeetle&difficulty=medium](https://swe.quest/feed.xml?source=tigerbeetle&difficulty=medium). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
