微信PaxosStore内存云揭秘:十亿Paxos/分钟的挑战-思考

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模式

参考

微信PaxosStore内存云揭秘:十亿Paxos/分钟的挑战

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值