System Design · Senior · Question 63 of 75

Why do payment systems use an append-only double-entry ledger instead of a mutable balance column?

Explanation

Corrections are new entries, not edits. A cached balance can be recomputed from the ledger.

Further reading

Problem with a question

System Design · Senior · question 63

Test yourself

Take the System Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz