News for hackers. Stuff that matters.
Re:Spanner, TrueTime and the CAP Theorem [pdf] by manigandham on Thursday December 14, 2017 @11:49PM (#15929721)
That's AP. It's better customer service to be available so you always get an answer, it's just out of date. Deposit being available next day means eventually your balance will be made consistent after all the settlement occurs.

Banking is an AP, eventually consistent, event-sourced system. All transactions are logged as pending and then processed later. If something is invalid, then it gets denied or reversed as another transaction. This is why you see deposits held, limits on ATM withdrawals, and charges on credit cards that take days to show up.

Some systems do the processing constantly so it seems instant but its never "real-time". In fact, Eric Brewer himself talks about this concept, usually called BASE as an alternative to ACID:

https://www.infoq.com/presentations/NoSQL-History

http://highscalability.com/blog/2013/5/1/myth-eric-brewer-on...

There are no comments on this comment yet.