文章目录
QuorumKV架构
新架构(无租约版Paxos分布式协议)
挑战1:Paxos分布式协议
PaxosLog
- PaxosLog,PLog as DB。
为什么需要db。
- 精简的PLog: 只保留最新的LogEntry
基于PaxosLog的强一致性读写协议
- 第一,优化写。
The leader for each log position is a distinguished replica chosen alongside the preceding log position’s consensus value. The leader arbitrates which value may use proposal number zero.
The first writer to submit a value to the leader wins the right to ask all replicas to accept that value as proposal number zero. All other writers must fall back on two-phase Paxos. - 第二,如何确定谁的提议写成功了?
只有确定值的归属者可以返回成功 ,没看懂。
- Paxos活锁问题。
挑战2:基于机械盘的DirectIO存储
- BlockID 怎么用的,疑问
挑战3:复杂的现网场景
- 机械盘RaidCache
- PLog对齐
- LeanerOnly模式