Distributed Computing with Heterogeneous Communication Constraints: The Worst-Case Computation Load and Proof by Contradiction

Nishant Shakya, Fan Li, Jinyuan Chen · DOI

Abstract

We consider a distributed computing framework where the distributed nodes have different communication capabilities, motivated by the heterogeneous networks in data centers and mobile edge computing systems. Following the structure of MapReduce, this framework consists of Map computation phase, Shuffle phase, and Reduce computation phase. The Shuffle phase allows distributed nodes to exchange intermediate values, in the presence of heterogeneous communication bottlenecks for different nodes (heterogeneous communication load constraints). For this setting, we characterize the minimum total computation load and the minimum worst-case computation load in some cases, under the heterogeneous communication load constraints. While the total computation load depends on the sum of the computation loads of all the nodes, the worst-case computation load depends on the computation load of a node with the heaviest job. We show an interesting insight that, for some cases, there is a tradeoff between the minimum total computation load and the minimum worst-case computation load, in the sense that both cannot be achieved at the same time. The achievability schemes are proposed with careful design on the file assignment and the data shuffling. Beyond the cut-set bound, a novel converse is proposed using the proof by contradiction. For the general case, we identify two extreme regimes in which both the scheme with coding and the scheme without coding are optimal, respectively.

Introduction

Standard distributed computing models, such as MapReduce, often operate under the assumption of homogeneity—where every worker node possesses identical processing power and network bandwidth. However, real-world deployments, particularly in mobile edge computing and modern data centers, are inherently heterogeneous. For instance, a network might consist of one node connected via a high-speed 5G link while another struggles with a limited LTE connection.

When communication becomes the primary bottleneck, "Coded Distributed Computing" techniques can reduce network traffic by having nodes perform extra, redundant computations. While effective, previous research has largely overlooked the impact of varying communication constraints across different nodes. This paper addresses this gap by characterizing the mathematical limits of computation load—the number of files a node must process—under heterogeneous communication load constraints.

System Model and Methodology

The authors utilize a Map-Shuffle-Reduce framework to analyze the system. In this model, the computation process is divided into three distinct phases:

  1. Map Phase: Distributed nodes process input files to generate intermediate values.
  2. Shuffle Phase: Nodes exchange these intermediate values over a network with heterogeneous communication bottlenecks.
  3. Reduce Phase: Nodes use the received data to compute the final output functions.
The Map-Shuffle-Reduce framework for distributed computing.

To evaluate performance, the study defines two primary metrics:

  • Total Computation Load ($M_{total}$): The aggregate number of files processed across all nodes, reflecting the total energy and resource consumption of the cluster.
  • Worst-Case Computation Load ($M_{worst}$): The maximum number of files processed by any single node, which directly impacts the overall system latency and the "straggler" problem.

Theoretical Techniques

A significant contribution of this work is the development of a novel "converse" proof using contradiction. While standard approaches often rely on "cut-set bounds" to establish system limits, the authors demonstrate that these bounds are sometimes loose. By using a proof by contradiction, they identify tighter, more restrictive physical limits on computation loads. Additionally, they propose achievability schemes involving careful file assignment and coded data shuffling (e.g., using bitwise XOR operations) to meet these theoretical bounds.

Key Insights: The Computation-Communication Tradeoff

The research reveals a fundamental tradeoff: in many heterogeneous scenarios, it is impossible to simultaneously minimize both the total computation load ($M_{total}$) and the worst-case computation load ($M_{worst}$).

  • Communication Dictates Computation: While $M_{total}$ is primarily influenced by the aggregate communication capacity of the cluster, $M_{worst}$ is constrained by the individual limits of each node.
  • The Role of Coding: Coding reduces communication overhead but often necessitates a higher computation load because nodes must process redundant data to enable the decoding of XORed transmissions. In high-bandwidth regimes, simpler uncoded schemes can actually be more efficient.

Key Results and Case Studies

The paper provides detailed characterizations for various system configurations, including two-node and three-node systems, as well as general $K$-node systems where coded or uncoded schemes are provably optimal in extreme regimes.

Illustrative Example: The 3-Node Tradeoff

Consider a system with 3 nodes and 7 input files, where communication constraints are highly lopsided ($L_1=2, L_2=2, L_3=14$). The authors prove that for this configuration, the minimum total load is 7 and the minimum worst-case load is 4. Crucially, Theorem 3 proves that these two minima cannot be achieved simultaneously.

An example of a 3-node system with heterogeneous communication constraints (L1=2, L2=2, L3=14).

Conclusion and Future Directions

This work establishes a theoretical foundation for optimizing distributed computing in realistic, heterogeneous environments. However, several avenues for future research remain. These include exploring asymmetric job assignments where nodes with superior resources handle more "Reduce" tasks, and adapting models to handle dynamic, fluctuating communication constraints. Furthermore, the general characterization for systems with many nodes remains an open mathematical challenge for the intermediate regimes between the identified extremes.

Summary updated

BibTeX
@misc{shakya2018distributed,
  author = {Nishant Shakya and Fan Li and Jinyuan Chen},
  title = {{Distributed Computing with Heterogeneous Communication Constraints: The Worst-Case Computation Load and Proof by Contradiction}},
  year = {2018},
  eprint = {1802.00413},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1802.00413},
}
Figure