When Two Choices Are not Enough: Balancing at Scale in Distributed Stream Processing
2016 (English)In: 2016 32ND IEEE INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2016, 589-600 p.Conference paper (Refereed)
Carefully balancing load in distributed stream processing systems has a fundamental impact on execution latency and throughput. Load balancing is challenging because real-world workloads are skewed: some tuples in the stream are associated to keys which are significantly more frequent than others. Skew is remarkably more problematic in large deployments: having more workers implies fewer keys per worker, so it becomes harder to "average out" the cost of hot keys with cold keys. We propose a novel load balancing technique that uses a heavy hitter algorithm to efficiently identify the hottest keys in the stream. These hot keys are assigned to d >= 2 choices to ensure a balanced load, where d is tuned automatically to minimize the memory and computation cost of operator replication. The technique works online and does not require the use of routing tables. Our extensive evaluation shows that our technique can balance real-world workloads on large deployments, and improve throughput and latency by 150% and 60% respectively over the previous state-of-the-art when deployed on Apache Storm.
Place, publisher, year, edition, pages
2016. 589-600 p.
, IEEE International Conference on Data Engineering, ISSN 1084-4627
IdentifiersURN: urn:nbn:se:kth:diva-193258ISI: 000382554200050ScopusID: 2-s2.0-84980322422ISBN: 978-1-5090-2020-1OAI: oai:DiVA.org:kth-193258DiVA: diva2:1033630
32nd IEEE International Conference on Data Engineering (ICDE), MAY 16-20, 2016, Helsinki, FINLAND
QC 201610072016-10-072016-09-302016-10-07Bibliographically approved