arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1504.00788cs.DC
收藏

两种选择的力量:分布式流处理引擎的实用负载均衡

The Power of Both Choices: Practical Load Balancing for Distributed Stream Processing Engines

Muhammad Anis Uddin Nasir, Gianmarco De Francisci Morales, David García-Soriano, Nicolas Kourtellis, Marco Serafini

摘要:

我们研究了分布式流处理引擎中的负载均衡问题,该问题在存在偏斜的情况下加剧。我们引入部分密钥分配(PKG),一个新的流划分方案,适应经典的“两个选择的权力”的分布式流设置,利用两个新的技术:密钥拆分和本地负载估计。这样,它实现了比键分组更好的负载均衡,同时比随机分组更具可扩展性。我们在几个大型数据集上测试PKG,包括真实世界和合成数据集。与标准散列相比,PKG将负载不平衡降低了几个数量级,并且通常可以实现近乎完美的负载平衡。在部署到真正的Storm集群上时,这一结果转化为吞吐量提高了60%,延迟提高了45%。

英文摘要:

We study the problem of load balancing in distributed stream processing engines, which is exacerbated in the presence of skew. We introduce Partial Key Grouping (PKG), a new stream partitioning scheme that adapts the classical "power of two choices" to a distributed streaming setting by leveraging two novel techniques: key splitting and local load estimation. In so doing, it achieves better load balancing than key grouping while being more scalable than shuffle grouping. We test PKG on several large datasets, both real-world and synthetic. Compared to standard hashing, PKG reduces the load imbalance by up to several orders of magnitude, and often achieves nearly-perfect load balance. This result translates into an improvement of up to 60% in throughput and up to 45% in latency when deployed on a real Storm cluster.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑