X-ClusterLink: An Efficient Cross-Cluster Communication Framework in Multi-Kubernetes Clusters

Pengbo Wang, Gongming Zhao, Yuantao Wu, Hongli Xu, Haibo WangWWW 2025

TL;DR

X-ClusterLink is a novel framework designed to break the performance bottlenecks of multi-cluster Kubernetes environments. By combining broker-based traffic management, eBPF/XDP-accelerated gateways, and a "bucket-based" consistent hashing mechanism, it achieves a 3.1× increase in forwarding bandwidth and significantly faster failover compared to industry standards like Istio and Submariner.

What Problem Does This Paper Address?

While Kubernetes is the gold standard for container orchestration, a single cluster has a "ceiling"—typically around 5,000 nodes and 150,000 pods. Large-scale enterprises and AI researchers training massive models often need to span multiple clusters to achieve the necessary scale, fault tolerance, and regional availability.

However, making these clusters talk to each other efficiently is notoriously difficult. Current solutions usually fall into two traps:

  1. Centralized Bottlenecks: Frameworks like Kubernetes Federation rely on a single control plane that chokes under burst traffic.
  2. Proxy Overload: Service meshes like Istio deploy a "sidecar" proxy for every single service, which adds massive management complexity and latency.
  3. Fragile Gateways: Tools like Submariner often rely on a single active gateway, creating a single point of failure and underutilizing available network bandwidth.

Methods

The authors propose X-ClusterLink, which splits the problem into two distinct layers:

1. The Broker Layer (The Traffic Controller)

Instead of one master controller, X-ClusterLink uses a virtualized Broker Cluster. To keep things balanced, they developed the Rounding-Based Broker Cluster Mapping (RBCM) algorithm. This uses linear programming and randomized rounding to ensure that no single broker is overwhelmed by a specific tenant's traffic, keeping synchronization latency low even as the system scales.

2. The Worker Layer (The Express Lane)

This layer handles the actual data movement using three clever tricks:

  • Multi-Gateway Aggregation: Rather than a "master-slave" setup where one gateway works and others idle, X-ClusterLink uses all available gateways simultaneously to aggregate bandwidth.
  • eBPF/XDP Acceleration: To avoid the "kernel tax" (the overhead of the standard Linux networking stack), the authors use eXpress Data Path (XDP). This allows packets to bypass the kernel and move directly from the network card to the gateway pod.
  • Bucket-Based Consistent ECMP: Traditional load balancing (ECMP) often requires a total system "re-shuffle" if one gateway fails. X-ClusterLink uses a hash ring with "buckets." If a gateway goes down, only the traffic specifically assigned to its buckets is moved, preventing a global network hiccup.

Datasets and Benchmarks

The researchers evaluated X-ClusterLink on a physical testbed of 10 servers (Intel Xeon 6152, 10GbE NICs) running 30 KVM-based virtual machines organized into 6 Kubernetes clusters.

They compared X-ClusterLink against three major industry benchmarks:

  • Istio Service Mesh: The most popular service mesh choice.
  • Skupper: A Layer-7 service interconnect.
  • Submariner: A tool for direct L3 networking between clusters.

Key Insights and Ideas

  • Aggregation is King: The "aha" moment here is moving away from the master-slave gateway model. By treating multiple gateways as a single logical pipe, the system can finally utilize the full physical bandwidth of the underlying hardware.
  • Bypassing the Kernel: By implementing eBPF/XDP, the authors prove that the bottleneck in modern high-speed networking isn't just the wire—it's the operating system's processing stack.
  • Localized Failover: The use of consistent hashing (the "Bucket-Based" approach) ensures that network anomalies remain local. In a massive cloud environment, "flapping" routes can cause a death spiral; X-ClusterLink prevents this by ensuring a gateway failure only affects its immediate neighbors on the hash ring.

Key Results

The experimental results show that X-ClusterLink dominates existing solutions across almost every metric:

  • Throughput: With 640-byte packets, it reached 2130 Mbit/s, a 3.1× improvement over single-gateway solutions that were capped by individual NIC limits.
  • Latency: Under 1K burst traffic, it reduced maximum Round-Trip Time (RTT) by 71.7% compared to Submariner and 68.7% compared to Skupper.
  • Robustness: During a gateway failure, X-ClusterLink recovered in 706 milliseconds—roughly 1.89× faster than Istio and 2.77× faster than Skupper.
  • Scalability: For a setup with 20,000 services, synchronization was 19.8% faster than Skupper with significantly lower CPU overhead on the brokers.

Limitations and Future Work

While the results are impressive, the paper notes a few areas for further exploration:

  • Small Packet Limits: For very small packets (64 bytes), the performance gains were limited by the packet generation capacity of the iperf pods used in the test, suggesting the framework might have even higher potential that wasn't fully captured.
  • Hardware Dependency: The use of XDP and eBPF requires modern Linux kernels and compatible NICs, which might not be available in all legacy cloud environments.
  • Open Source: The authors mention plans to open-source the framework on GitHub, which will be the real test of its "plug-and-play" viability in diverse production environments.

Summary updated

BibTeX
@inproceedings{wang2025x,
  author = {Pengbo Wang and Gongming Zhao and Yuantao Wu and Hongli Xu and Haibo Wang},
  title = {{X-ClusterLink: An Efficient Cross-Cluster Communication Framework in Multi-Kubernetes Clusters}},
  booktitle = {The Web Conference},
  year = {2025},
  url = {https://openreview.net/forum?id=l5zRaRSBn0},
}
Figure