Your payment service keeps user balances in a users.balance column and reconciles at night. That design survives a demo and dies in production the first time two transfers race for the same account, a retry double-charges a customer, or an auditor asks you to prove that the sum of every double-entry posting still equals zero. A general-purpose database will happily store your money — it just will not protect the invariants money depends on.
That is the entire reason a new category of software exists: the financial ledger core. It is not a database you put in front of your app, and it is not a personal-finance UI. It is a service whose only job is to accept immutable double-entry postings, keep balances correct under concurrency, and refuse anything that would break the accounting equation.
Three open-source projects dominate this space in late 2026, and they take radically different routes to the same guarantee. This guide compares them with live repository data, working configuration, and the operational traps that only show up after your first million postings.
TL;DR: The 30-Second Verdict
- Choose TigerBeetle if throughput and correctness under load matter more than flexibility. It is a purpose-built, single-purpose binary that does one thing at extreme speed — 17,516 stars, still Apache-2.0, still written in Zig, still shipping weekly.
- Choose Blnk if you want a ledger that speaks REST, runs on Postgres and Redis you already operate, and ships an API your product team can call on day one.
- Choose Formance Ledger if your money movement rules are complicated enough to need a scripting layer (Numscript) and you want a Raft-replicated cluster instead of a single-writer engine.
- Do not bolt any of them onto a system that still writes balances from application code. The ledger must become the only writer, or you have simply added a second source of truth.
Comparison Table (Live GitHub Data, November 2026)
| Dimension | TigerBeetle | Blnk | Formance Ledger |
|---|---|---|---|
| GitHub stars | 17,516 | 607 | 1,490 |
| Last push | 2026-11-27 | 2026-11-27 | 2026-11-29 |
| Primary language | Zig | Go | Go |
| License | Apache-2.0 | Apache-2.0 | MIT |
| Unit of work | Debit/credit transfer primitives | Transaction + balance model | Postings inside a ledger |
| Storage engine | Custom LSM (own on-disk format) | Postgres + Redis | Pebble (LSM) + Raft log |
| Replication | Viewstamped replication, fixed cluster | Postgres replication / HA | etcd/raft, single Raft group |
| Client API | Binary protocol, official clients | REST/JSON | REST + gRPC + CLI |
| Query flexibility | Almost none (by design) | SQL-backed, searchable | Ledger-scoped queries |
| Scripting layer | None | Templates/hooks in Go | Numscript |
| Operational weight | One binary, zero dependencies | 4–6 containers | Cluster of 1–3+ nodes |
| Best fit | High-volume internal accounting | SaaS wallets and payouts | Marketplace and multi-tenant ledgers |
The star gap is misleading. TigerBeetle has been building in public since 2020 and gets attention from systems engineers who will never run a ledger; Blnk is three years younger and aimed at product teams. Judge them by the invariants they enforce, not by popularity.
Decision Matrix: Pick By Situation, Not By Hype
| Your situation | Recommended | Why |
|---|---|---|
| Wallet balances for a consumer app, small team, Postgres already running | Blnk | REST API, Postgres storage, blnk migrate up handles schema; no new operational paradigm |
| Payment processor or exchange where 10k+ postings/second is normal | TigerBeetle | Fixed-cost batching, no GC pauses, designed around the two-phase commit of pending transfers |
| Marketplace splitting a single charge across sellers, platform fee and tax | Formance Ledger | Numscript expresses multi-leg splits atomically in one transaction |
| You need ad-hoc SQL reporting over ledger data tonight | Blnk | Data lives in Postgres; your BI tool already connects |
| Regulatory audit trail that must survive node loss without data loss | TigerBeetle | Replicated cluster with strict durability guarantees per commit |
| You want to prototype in an afternoon | Blnk | docker compose up and a JSON POST |
| You need double-entry plus a business rules engine | Formance Ledger | Scripts live next to the postings they generate |
| Your team has zero appetite for a new storage system | Blnk | Reuses Postgres and Redis you already back up |
TigerBeetle: The Ledger That Refuses To Be a Database
TigerBeetle is the most opinionated project in this comparison, and that is its selling point. There are no tables, no schemas to design, no UPDATE statements. There are accounts and transfers, and transfers are immutable. Balances are derived, never written.
The entire data model fits in two concepts: an account (id, ledger, code, flags) and a transfer (id, debit_account_id, credit_account_id, amount, ledger, code, optional pending flags). Every field is a fixed 128-bit integer where it matters. Money is never a float, and identifiers are client-generated 128-bit values, which is what makes idempotency trivial: replay the same transfer id and the engine rejects the duplicate instead of double-posting.
Starting a single-replica cluster, taken verbatim from the official README:
| |
Then connect with the bundled REPL and post a real double-entry transfer:
| |
The reply for account 1 shows debits_posted: "10" and account 2 shows credits_posted: "10" — the accounting equation is enforced by the storage engine, not by your application. A production deployment drops --development (which relaxes fsync behavior) and runs three or six replicas across availability zones; the official container image is published on GHCR, and there is no external database to back up because the LSM file is the database.
Where TigerBeetle hurts: you cannot ask it questions. There is no SELECT. Reporting, reconciliation exports and dashboards require you to stream every committed transfer into a secondary store (typically Postgres or ClickHouse) via its change-data-capture style event consumption. Teams underestimate this — budget a second pipeline, not just a second container. There is also no native multi-currency conversion, no fee logic, no scheduled payments: those live in your service tier.
If you already run Zig in production, our Zig vs Rust vs Go systems programming breakdown explains why the team’s choice of Zig buys deterministic memory behavior rather than raw speed.
Blnk: A Ledger Your Product Team Can Actually Call
Blnk takes the opposite bet: instead of inventing a storage engine, it wraps Postgres and Redis in a ledger API. Every balance is derived from postings, every transaction has a reference for idempotency, and the whole thing deploys from the repository’s own docker-compose.yaml — which is exactly what we pulled:
| |
Two details in that file tell you a lot about the architecture. First, blnk migrate up && exec blnk start means schema migrations are part of the startup contract — no separate migration job to forget. Second, the worker process is separate from the server: reconciliation, scheduled transactions and webhook fan-out run asynchronously, so a slow downstream endpoint cannot block a posting.
A posting is a plain JSON call against port 5001, using a ledger-scoped key in the X-Blnk-Key header and a client-supplied reference that makes retries safe:
| |
Because balances live in Postgres, your existing BI stack, backup policy and read replicas keep working. You can join ledger postings against your product tables — something TigerBeetle makes intentionally impossible. The trade-off is throughput: every posting is a Postgres write plus Redis coordination, so plan for low thousands of transactions per second per instance rather than TigerBeetle-class numbers. For most SaaS wallets, invoicing and payout flows, that ceiling is far above actual demand.
Blnk is also where you will feel the project’s youth: 607 stars, a fast-moving schema, and occasional breaking changes between minor versions. Pin the image tag (0.15.7 above), read release notes before upgrading, and keep the migration step in CI. If you need a reference implementation of a billing platform around a ledger, our Apache Fineract microfinance guide covers the heavier, loan-centric model.
Formance Ledger: Programmable Postings With Numscript
Formance rebuilt its ledger around a Raft cluster in version 3, and the README is refreshingly honest about the architecture: a single Raft group manages all ledgers, storage is CockroachDB’s Pebble LSM engine, and consensus comes from etcd/raft. In practice that means you get strong consistency without operating Postgres, at the cost of running an odd-numbered cluster and understanding leader election.
The distinguishing feature is Numscript — a small domain language for describing money movement, compiled server-side into atomic postings. A split payment across a seller, the platform and tax does not require five API calls and a saga:
| |
Either every leg posts or none does. That is a genuinely different capability from Blnk’s JSON transactions and from TigerBeetle’s raw primitives, and it is why marketplaces with messy revenue-split rules gravitate here. The ledger ships as a container image; a single-node development instance is one command:
| |
For anything real, run three nodes with persistent volumes for the Pebble data directory and the Raft log — losing quorum means the ledger refuses writes, which is the correct behavior but a surprise during an incident if you never tested it. The README also lists request signing via Ed25519 and OpenTelemetry traces/metrics out of the box, both of which you will want before your first audit.
Weaknesses: 1,490 stars means a smaller hiring pool, the Go codebase assumes familiarity with Raft failure modes, and query capability is ledger-scoped rather than SQL. If your finance team wants pivot tables, you will still export.
Operational Pitfalls Nobody Warns You About
1. Integers, not decimals. All three systems store minor units as integers (Blnk’s precision: 100 means cents). If any code path in your stack converts to float — even for display — you will eventually produce a posting that does not reconcile. Keep the conversion at the presentation layer only.
2. Idempotency must be client-generated. TigerBeetle relies on your 128-bit transfer id; Blnk on reference. Generating those inside the ledger defeats the purpose. Use a deterministic key derived from the business event (order id + attempt) so a retried HTTP call cannot create a second posting.
3. Pending transfers are not “uncommitted”. TigerBeetle’s two-phase transfers reserve funds (debits_pending) and must be posted or voided explicitly. Abandoned pending transfers silently freeze customer balances — monitor pending age as a first-class metric.
4. Your reconciliation job is the real test. Sum every debit and credit per ledger and assert zero. Do it hourly at first, then daily. A ledger that cannot prove its own invariant is worse than a spreadsheet, because it looks authoritative.
5. Backups differ completely. TigerBeetle replicates the LSM file; snapshot the data directory and test restore. Blnk is a Postgres story — use pg_dump plus PITR, and remember Redis holds coordination state that must be rebuilt. Formance needs Pebble snapshots and the Raft log; restoring a node from a stale snapshot is how you lose the last few seconds of postings.
6. Do not import history with rewritten ids. Migrating from a legacy balance column means replaying every historical event to reconstruct postings. Generate ids deterministically from the legacy event id, or your migration becomes non-repeatable and you will run it twice.
Why Self-Host Your Ledger Core At All
Vendors will happily sell you a ledger API, and for a two-person startup that is often correct. Self-hosting wins when the ledger is the product’s core asset: you keep the audit trail in your own Postgres or on your own disk, you avoid per-posting pricing that punishes growth, and you can prove data residency to a regulator without a support ticket.
The cost is operational maturity, not license fees. All three projects are permissively licensed — Apache-2.0 for TigerBeetle and Blnk, MIT for Formance — so the real investment is the on-call rotation that understands Raft quorum, Postgres failover or LSM snapshots.
If your books are small and human-scale rather than high-volume, a plain-text ledger is a better fit than any of these services; our hledger vs Beancount vs Ledger comparison covers that path. If instead you are weighing storage engines for the surrounding services, the Postgres operator comparison explains how to keep the database layer HA once Blnk depends on it.
Performance and Scaling Reality Check
TigerBeetle’s published benchmarks target hundreds of thousands of transfers per second per replica with batched requests; in practice your ceiling will be set by network round-trips unless you batch client-side, which its official clients do automatically. Blnk’s throughput tracks Postgres: expect low thousands of postings per second on a modest instance, and remember every transaction also touches Redis. Formance adds a Raft round-trip per write, so single-node benchmarks flatter it badly — measure on three nodes.
Scaling out is where the models diverge. TigerBeetle scales by partitioning ledgers across separate clusters (its fixed replica-count design does not shard automatically). Blnk scales vertically and with read replicas, since Postgres owns the data. Formance scales within one Raft group, which is simple to reason about and a hard ceiling you should size for up front.
Whatever you pick, load-test with realistic contention: 90% of writes hitting the same 100 accounts. Balanced synthetic traffic hides exactly the lock behavior that breaks wallets in production.
FAQ
Is a ledger core the same thing as a database? No. A database stores whatever you tell it to; a ledger core enforces double-entry invariants, immutable postings and idempotent transfers. TigerBeetle is its own storage engine, Blnk and Formance sit on top of existing storage — but all three refuse writes that would break the accounting equation.
Can I just use Postgres with a transactions table? You can, and many teams do until concurrency arrives. The moment two workers update the same balance row, you need explicit locking, idempotency keys and a reconciliation job. A ledger core ships those as defaults instead of as code you write at 2 a.m.
Which one handles multi-currency best? Formance, because Numscript can express conversions and multi-leg splits inside a single atomic transaction. TigerBeetle treats each ledger as a separate currency namespace and expects your service to handle rates; Blnk supports currency per transaction but leaves conversion logic to you.
How much operational work is a three-node Formance cluster? More than a single Blnk container, less than running Kafka. You need persistent volumes for Pebble and the Raft log, monitoring on leader elections, and a tested restore procedure. Budget a week of engineering to feel confident, and rehearse quorum loss once on purpose.
Do these integrate with existing payment processors? They integrate with anything that can make an HTTP call or speak a binary protocol. The typical pattern is: processor webhook arrives, your service validates it, then posts a balanced transfer. Never let the webhook handler write balances directly — that reintroduces the dual-write problem the ledger exists to prevent.
💰 想测试你的市场判断力?我用 Polymarket 做预测市场交易——这是全球最大的预测市场平台,从大选结果到技术监管时间线,什么都可以押注。和赌博不同,这是真正的信息市场:你懂的信息越多,胜率越高。我靠预测技术相关事件的走向已经赚了不少。用我的邀请链接注册:Polymarket.com