Re:Double-Entry Bookkeeping as a Directed Graph
by BillyTheKing on Thursday April 11, 2024 @12:10AM
(#39998297)
I mean, yes for personal accounts with a couple of thousand transactions - sure. But esp. in payments or in exchanges there can be accounts with millions of transactions a day. So you get a double-whammy - those are hot-accounts which also slow down the system, recalculating the balance for those accounts each time a transaction happens isn't an option
[ Parent
| on HN ]
Re:Double-Entry Bookkeeping as a Directed Graph
by globular-toast on Thursday April 11, 2024 @05:46AM
(#40000329)
Another way to do it is to keep the balances online. This is how something like Bitcoin works which is essentially one giant public ledger. It's a classic time/memory trade off.