Infrastructure
LinkedIn slashes shuffle failures 37-fold by moving to Apache Celeborn
The company deployed a dedicated remote shuffle service, cutting daily fetch failures from 750 to 20 and improving compute efficiency by 10–14%.
InfoQ
LinkedIn has deployed Apache Celeborn as a dedicated remote shuffle service across most of its Spark and Flink workloads, dramatically reducing data-movement failures and cutting compute costs. The shift replaces the company's previous in-cluster Magnet implementation, yielding a 37-fold drop in daily shuffle fetch failures (from ~750 to 20), 10% lower compute expense, and 14% faster application execution.
The scale of the problem#
LinkedIn runs over 300,000 Spark jobs daily on thousands of production servers, consuming roughly 200 petabyte-hours of compute. As the company transitions toward a unified Flink platform for both real-time and batch processing, large-scale backfills have intensified shuffle workloads—the data-shuffling stage between processing phases that can strain networks, disk I/O, and runtime performance.
From Magnet to Celeborn#
Previously, LinkedIn used Magnet, a push-based shuffle system integrated into Apache Spark 3.2. Magnet consolidated shuffle blocks by partition into larger files, reducing random disk reads. Yet shuffle storage remained tethered to the compute cluster itself, forcing the External Shuffle Service to compete with application workloads for CPU, memory, disk bandwidth, and network resources.
Celeborn decouples shuffle storage from compute: map tasks push intermediate data to dedicated worker nodes, which aggregate and retain partitions independently of Spark executors. Reducers then fetch directly from these workers. The separation eliminates resource contention and allows shuffle infrastructure to scale independently of compute demand.
Operational hardening#
Deploying Celeborn reliably across thousands of nodes required substantial engineering beyond the upstream project. LinkedIn built a five-node Raft-based control plane distributed across availability zones, using Apache Ratis for metadata replication and failover. The company also introduced network-aware replication and integrated Celeborn with its host health platform to gracefully exclude degraded workers and defer maintenance-bound nodes. These additions achieved a 20-fold reduction in task failures during infrastructure disruptions versus Magnet.

