Modern distributed systems face a critical challenge: existing consensus protocols optimize for either node heterogeneity or workload independence, but not both. For example, Cabinet leverages weighted quorums to handle node heterogeneity but serializes all operations through a global leader, limiting parallelism. EPaxos enables parallel execution for independent operations but treats all nodes uniformly, ignoring performance differences. To tackle this problem, we present WOC, a dual-path consensus protocol that dynamically routes operations into two paths based on their access patterns. Independent operations execute through a fast path that uses object-specific weighted quorums and completes in one network round-trip. Conflicting or shared objects route through a leader-coordinated slow path employing node-weighted consensus. Our evaluation demonstrates that WOC achieves up to 4X higher throughput than Cabinet for workloads with >70% independent objects, while maintaining equivalent performance under high contention.
翻译:现代分布式系统面临一个关键挑战:现有共识协议要么针对节点异构性进行优化,要么针对工作负载独立性进行优化,但无法兼顾两者。例如,Cabinet利用加权仲裁处理节点异构性,但通过全局领导者串行化所有操作,限制了并行性。EPaxos支持独立操作的并行执行,但平等对待所有节点,忽略了性能差异。为解决这一问题,我们提出WOC——一种双路径共识协议,根据操作访问模式动态将其路由至两条路径。独立操作通过快速路径执行,该路径使用对象特定的加权仲裁,仅需一次网络往返即可完成。冲突或共享对象则通过采用节点加权共识的领导者协调慢速路径处理。评估结果表明,对于独立对象比例超过70%的工作负载,WOC的吞吐量最高可达Cabinet的4倍,同时在高竞争场景下保持同等性能。