Re:Every System is a Log: Avoiding coordination in distribut...
by log4shell on Friday January 24, 2025 @10:45AM
(#42814211)
Calling a WAL a ledger, why? Ledger sounds fancier but why would it be a ledger in this case?
[ Parent
| on HN ]
Re:Every System is a Log: Avoiding coordination in distribut...
by hcarvalhoalves on Friday January 24, 2025 @10:55AM
(#42814337)
I believe "ledger" implies commutative property (order does not matter).
Re:Every System is a Log: Avoiding coordination in distribut...
by log4shell on Friday January 24, 2025 @01:35PM
(#42815861)
I am not aware of any such implicit connection of ledger and commutative property, also couldn't find anything as my google-fu is letting me down. Anything I can refer to? Generally curious to know use of term ledger outside of accounting and blockchains.
I have seen it used to mean WAL before, so I am taking this with a dose of skepticism.
Re:Every System is a Log: Avoiding coordination in distribut...
by hcarvalhoalves on Sunday January 26, 2025 @10:46AM
(#42830797)
In a double-entry ledger the order of transactions doesn't matter, the balance is the sum of entries.
Depending on the data model of your log, if calculating the current state is a commutative operation, I think it's fair to call it a "ledger".
Re:Every System is a Log: Avoiding coordination in distribut...
by trollbridge on Friday January 24, 2025 @09:54PM
(#42819048)
We called it a ledger since we stored financial data and basically used the “ledger” format from plain text accounting, initially.