ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1510.05714
39
89
v1v2v3 (latest)

When Two Choices Are not Enough: Balancing at Scale in Distributed~Stream~Processing

19 October 2015
Muhammad Anis Uddin Nasir
G. D. F. Morales
N. Kourtellis
Marco Serafini
ArXiv (abs)PDFHTML
Abstract

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: 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 heaving hitter algorithm to efficiently identify the hottest keys in the stream. These hot keys are assigned to d≥2d \geq 2d≥2 choices to ensure a balanced load, where ddd 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%\mathbf{150\%}150% and 60%\mathbf{60\%}60% respectively over the previous state-of-the-art when deployed on Apache Storm.

View on arXiv
Comments on this paper