CheckCo: Checkpoint-Coordinated Load Balancing for Skewed Event Streams at Scale
Muhammad Anis Uddin Nasir, Reza Sadraei
Abstract
Event streams are rarely uniform: a few dominant keys can generate orders of magnitude more events than the rest, overloading the workers that receive them and capping throughput. We present CheckCo, a checkpoint-coordinated load-balancing algorithm built on a dynamic oracle that estimates per-key frequencies from the live stream, with no prior statistics. Workers count events per key locally; at each checkpoint barrier, the counts are merged into a partitioning function that divides each key into a number of splits roughly proportional to its estimated frequency and packs the splits onto workers, and this function routes the next checkpoint window. We derive approximation bounds on the resulting load imbalance from classical scheduling results and bound its total key fan-out. On a production pipeline processing over 100 billion events per day, the most loaded worker receives only 9.8% more events than the average over a day (imbalance ratio 1.10), against 8.03 for key-based routing in simulation; in simulation, CheckCo also needs less than half the fan-out of earlier partitioners that reach comparable balance. Shifts in the key distribution are reflected in routing from the next checkpoint on, and the load stays balanced through job restarts.
Create a lesson
Related papers
Coordinating Distributed AI Servers with Industrial Loads to Reduce Grid-Interconnection Needs
Shared title terminology · Ruike Lyu, Bolun Xu
ISER-MoE: Dynamic In-Switch Replication of Hot Experts for Load Balancing in Expert-Parallel
Shared title terminology · Jintao Peng, Ethan Zhang, Kefeng Duan et al.
TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming
Shared title terminology · Jinbin Luo, Xiaozhe Yao, Shang Yang et al.
AscMLA: Unlocking FP4 Efficiency for Long-Context MLA Decoding through Asymmetric Scaling
Shared title terminology · Zechun Zhou, Zhiyong Zheng, Xiaomin Zhang et al.
Locality-Aware Scheduling for Stream Processing Applications in Serverless Environments
Shared title terminology · Tianyu Qi, Maria A. Rodriguez, Rajkumar Buyya
Stephen: Verifying Sequencer-Aided Coordination Systems with Cross-View Prophecy
Shared title terminology · Jinkun Geng, Muhammad Haseeb, Daniel Qian et al.