7 ms·
Calling a WAL a ledger, why? Ledger sounds fancier but why would it be a ledger in this case?
by log4shell 2y ago
Calling a WAL a ledger, why? Ledger sounds fancier but why would it be a ledger in this case?
- hcarvalhoalves 2y agoI believe "ledger" implies commutative property (order does not matter).
- log4shell 2y agoI 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.
- hcarvalhoalves 2y agoIn 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".
- trollbridge 2y agoWe called it a ledger since we stored financial data and basically used the “ledger” format from plain text accounting, initially.
- log4shell 2y agoThat answers my question, thanks! Ordering does not matter part has me curious too, I will read other comment and come back to you l.