cap理论具体含义_CAP理论中的P到底是个什么意思?
"Partition Tolerance" 這個形容詞確實挺容易 confuse 的,《A Critique of the CAP Theorem》文章曾這樣批評:we can interpret partition tolerance as meaning “a network partition is among the faults that are assumed to be possible in the system.”
It is misleading to say that an algorithm “provides partition tolerance,” and it is better to say that an algorithm “assumes that partitions may occur.”
至于 Network Partition 應當理解為 CAP 理論中討論的故障模型,這里需要注意 Network Partition 并非節點 Crash(節點 Crash 屬于 FLP 的故障模型),更側重于 "節點雙方一時聯系不上對方" 的一個狀態。
造成 Partition 的原因可能是網絡不可達,也可能是 GC 的 Stop The World 阻塞太久,也可能是 CPU 彪到一個死循環上,總之種種血案。aphyr 曾整理過這么一批血案可以參考: aphyr/partitions-post
總結
以上是生活随笔為你收集整理的cap理论具体含义_CAP理论中的P到底是个什么意思?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 一波三折,终于找到src漏洞挖掘的方法了
- 下一篇: MFC进度条编程