4 ms·
> In fact, not even credit institutes work with transactions, they too rely on eventually being consistent. Is this really the case? I was always under the im
by shock 9y ago
> In fact, not even credit institutes work with transactions,
they too rely on eventually being consistent.
Is this really the case? I was always under the impression that everything regarding financial transactions needed to be transactional.
- andreareina 9y agoConsistency here is CAP consistency[1], not ACID consistency. In short, if datum d is visible to Alice at time t1, it MUST also be visible to Bob at time t2 > t1. So financial transactions are transactional, but there's no guarantee that every node has a fully up-to-date state at all times. [1]: https://en.wikipedia.org/wiki/CAP_theorem https://en.wikipedia.org/wiki/CAP_theorem
- jen20 9y agoThis is also not how bank transfers work inter-bank. I as Bob (a recipient) may have zero knowledge of a transaction initiated by Alice regardless of time.
- jen20 9y agoWrong. Do you seriously think that a cross-bank transfer is operating inside a distributed database transaction? Furthermore, what did banks do before they had computer systems available?
- gregyoung1 9y agoBank transactions are usually handled via long running messaging state machines. When as example you transfer from an account in the US to one in Sweden it does not just open a 2PC transaction between the two databases. There are also often intermediaries involved.
- jamesb7276 9y agowrite a check