4 ms·
Regulators would like a word with you. Also, in theory it sounds nice, but reality is always more nuanced. I have implemented a bank-like SaaS which was regula
by the-dude 6y ago
Regulators would like a word with you. Also, in theory it sounds nice, but reality is always more nuanced.
I have implemented a bank-like SaaS which was regulated by our national financial regulators.
- fnord123 6y agoOf course it's more nuanced than a short HN comment. It's also more complicated than using a mutex to make changes to two values. > I have implemented a bank-like SaaS Which one? What made it bank like? How was it implemented? > which was regulated by our national financial regulators. Which country? > Regulators would like a word with you. To say what?
- the-dude 6y ago> To say what? Among other things, they require you to store the before & after balance with each transaction. As a truth value, not a cache. And now your whole premise is out of the window ( there is a bunch of practical reasons it won't work in reality too ).
- kevingadd 6y agoA string of before and after balances is still a ledger. This is distinct from just 'account, current_balance' tuples like a more typical schema would have.
- the-dude 6y agoIsn't one of the charactarising features of a ledger that it is a string of relative values instead of absolute values?
- a1369209993 6y agoNo, it is not. A ledger is a append-only data structure consisting of a list of (applied) transactions. What kind of transactions depends on what you're ledger-ing, but it certainly doesn't imply relative values (if anything the opposite, though probably not anything).
- the-dude 6y agoSo if they are not related(or relative) to one another, why are they on the same list?