Tagged articles

double-entry accounting

2 articles · Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Aug 20, 2026 · Backend Development

Why Wallet Balance Shouldn't Be Calculated On‑The‑Fly: Double‑Entry Accounting, Snapshots, and Immutable Ledger Practices

The article explains that a production‑grade wallet must store balance snapshots instead of summing transaction flows, using double‑entry bookkeeping, ACID guarantees, idempotent request handling, outbox messaging, sharding, and comprehensive reconciliation to ensure correctness and high‑throughput under heavy concurrency.

High ConcurrencyOutbox Patternbalance snapshot
0 likes · 43 min read
Why Wallet Balance Shouldn't Be Calculated On‑The‑Fly: Double‑Entry Accounting, Snapshots, and Immutable Ledger Practices
Architecture Digest
Architecture Digest
Oct 16, 2022 · Backend Development

Design and Implementation of Baidu Transaction Middle‑Platform Asset System

The article presents the architecture, business scenarios, consistency mechanisms, double‑entry accounting, hotspot‑account handling, storage sharding, and regulatory compliance of Baidu's transaction middle‑platform asset system that supports C2C payments, virtual‑coin, cash, and asset services across dozens of products.

asset managementconsistencydouble-entry accounting
0 likes · 13 min read
Design and Implementation of Baidu Transaction Middle‑Platform Asset System