Company
Date Published
Author
Alyson Cabral
Word count
2398
Language
English
Hacker News points
None

Summary

Causal Guarantees Are Anything but Casual` discusses the importance of causal consistency in distributed systems and how MongoDB implements a hybrid logical clock to establish a global partial ordering of events across replica sets and sharded clusters. The article highlights the tradeoffs between consistency guarantees, durability, and performance, and provides examples of different combinations of read and write concerns that can be used to achieve specific goals. It emphasizes the importance of considering these tradeoffs in application design and development, and recommends using both `read concern majority` and `write concern majority` to preserve causal guarantees and durability across all failure scenarios.