分断耐性とは?
分断耐性は、一部のノード間のメッセージが失われたり遅延したりするネットワーク分断にもかかわらず、システムが機能し続ける性質です。CAP 定理のもとでは、分断は実際には避けられないため、システムは分断中にどう振る舞うかを選ばなければなりません。その選択は通常、分断が続く間、整合性を保つか可用性を保つかの間で行われます。
なぜ重要か
ネットワークは故障するため、現実の分散システムは分断が決して起きないと仮定するのではなく、分断に耐えなければなりません。興味深い設計上の判断は、分断中に何を犠牲にするかであり、これが CAP のトレードオフの核心です。
関連ガイド
Split Brain - CI/CD Glossary DefinitionSplit brain is a failure where a network partition leaves two halves of a cluster each believing it is the le…
What Is Strong Consistency?Strong consistency guarantees that every read returns the most recent committed write, so all clients see the…
What Is Consistent Hashing?Consistent hashing maps keys and nodes onto a ring so that adding or removing a node remaps only a small frac…