CheckCo: Checkpoint-Coordinated Load Balancingfor Skewed Event Streams at Scale
Muhammad Anis Uddin Nasir, Reza Sadraei
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Routing and Cache Retention for Multi-Turn LLM Inference: Theory and ImplementationarXiv · 2026
- Gleaner: A Semantically-Rich and Efficient Online Sampler for Microservice DiagnosticsProceedings of the ACM on Software Engineering · 2026
- Koala: Non-disruptive Reconfiguration for Long-running Stateful DataflowsarXiv · 2026
- Locality-Aware Scheduling for Stream Processing Applications in Serverless EnvironmentsarXiv · 2026
- Ofan: Optimal Load Balancing for AI TrainingarXiv · 2026
- DiaLSM: Towards Write-Stall-Free Performance via Shard-based LSM-treearXiv · 2026