4 ms·
Why?
by vhost- 11y ago
Why?
- joneholland 11y agoIt's a AP system. Race conditions come with the territory.
- ykl 11y agoSee the CAP theorem [0]. Disque is designed to guarantee availability and partition tolerance, which according to CAP means Disque cannot guarantee atomic consistency (the C in CAP is not quite the same as either the A and C in ACID [1]) between nodes. No atomic consistency means no guarantee of a single action to single response correspondence, which means race conditions are possible. [0] https://en.wikipedia.org/wiki/CAP_theorem https://en.wikipedia.org/wiki/CAP_theorem [1] https://en.wikipedia.org/wiki/Consistency_(database_systems) https://en.wikipedia.org/wiki/Consistency_(database_systems)