3 ms·
If your data is only eventually consistent, then DB node A can have your bank balance at $x for some time still, while it is already $0 at on node B. Then, if s
by lgieron 10y ago
If your data is only eventually consistent, then DB node A can have your bank balance at $x for some time still, while it is already $0 at on node B. Then, if some operation (say withdrawal) is checking the balance with node A, then you have a problem.
- snowwrestler 10y agoYes, this is true of eventually consistent systems. The question is a) what does "eventually" mean (replication takes seconds, minutes, or hours?), b) what time delta do you expect for most transaction requests, and c) what is the risk of being temporarily wrong? Seems to me that a bank could answer these questions as well as any other business, and build a system that works within the answers.
- meddlepal 10y agoBanks are already eventually consistent. Balances are reconciled COB.