zlacker

[parent] [thread] 3 comments
1. KptMar+(OP)[view] [source] 2021-11-26 12:17:08
That's seriously one of the worst takes I've seen on this website.

>the attempt to charge is recorded in a leger

Hint: how do you think this attempt is recorded and fulfilled? Or, do you think "it's just appended" and bank recalculates your balance from scratch every time you spend 1$ on coke can?

Only bank I've heard of that's not using traditional relational database for ledger is Monzo [1] - but they still use Cassandra's transactions.

[1] https://www.scaleyourapp.com/an-insight-into-the-backend-inf...

replies(1): >>lmm+X
2. lmm+X[view] [source] 2021-11-26 12:27:03
>>KptMar+(OP)
> Hint: how do you think this attempt is recorded and fulfilled? Or, do you think "it's just appended" and bank recalculates your balance from scratch every time you spend 1$ on coke can?

That's how the bank I worked with did it. Of course there was caching in place so we didn't actually recompute everything every time, but the implementation of that was a lot closer to "commit a kafka offset" than an RDBMS-style transaction. (E.g. we didn't overwrite the "current balance" in-place, we appended a new "current balance as of time x").

replies(2): >>dmitri+X2 >>johnth+lt1
◧◩
3. dmitri+X2[view] [source] [discussion] 2021-11-26 12:44:45
>>lmm+X
> Of course there was caching in place so we didn't actually recompute everything every time

I think you've proved our point

◧◩
4. johnth+lt1[view] [source] [discussion] 2021-11-26 23:09:25
>>lmm+X
every large ingest app i have worked on had something akin to kafka, from raw 3d seismic broadcast via sat, to RF tower motion detection, to carrier grade cellular billing. common denominator was a replayable ingest queue. yes, kafka is a "great" idea. however, it is not a replacement for querying.
[go to top]