As network scale and business concurrency continue to grow and data centers expand across multiple regions, cross-domain data processing has become the norm. In current distributed databases, leader-based consensus protocols face the challenge of high latency when processing cross-domain requests. To address this, we present P-Raft, a Raft-based protocol tailored for cross-domain sites that shortens the cross-domain commit’s critical path and employs machine-learning–based, pro-active leader migration to adapt to network topology and load shifts, thereby improving performance and reducing global latency. Under representative read/write-balanced workloads, P-Raft reduces average latency by 75.19% and 72.61% relative to Raft and EPaxos, respectively; compared with the state-of-the-art leader-management approach GeoLM, P-Raft reduces average latency by 63.89%.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

P-Raft: Distributed Consensus with Predictive Optimization Under Cross-Domain Sites

  • Yangyang Wang,
  • Ziqian Cheng,
  • Yucheng Ji,
  • Zichen Xu

摘要

As network scale and business concurrency continue to grow and data centers expand across multiple regions, cross-domain data processing has become the norm. In current distributed databases, leader-based consensus protocols face the challenge of high latency when processing cross-domain requests. To address this, we present P-Raft, a Raft-based protocol tailored for cross-domain sites that shortens the cross-domain commit’s critical path and employs machine-learning–based, pro-active leader migration to adapt to network topology and load shifts, thereby improving performance and reducing global latency. Under representative read/write-balanced workloads, P-Raft reduces average latency by 75.19% and 72.61% relative to Raft and EPaxos, respectively; compared with the state-of-the-art leader-management approach GeoLM, P-Raft reduces average latency by 63.89%.