Skip to main content
QUICK REVIEW

[Paper Review] A Fundamental Tradeoff between Computation and Communication in Distributed Computing

Songze Li, Mohammad Ali Maddah-Ali|arXiv (Cornell University)|Apr 24, 2016
Stochastic Gradient Optimization TechniquesComputer Science42 references29 citations
TL;DR

This paper proposes a fundamental computation-communication tradeoff in distributed computing by introducing Coded Distributed Computing (CDC), which reduces communication load by increasing Map computation redundancy. By replicating Map tasks across r nodes and applying coding to intermediate data, CDC achieves a communication load reduced by a factor of r, matching an information-theoretic lower bound, thus characterizing the optimal tradeoff exactly.

ABSTRACT

How can we optimally trade extra computing power to reduce the communication load in distributed computing? We answer this question by characterizing a fundamental tradeoff between computation and communication in distributed computing, i.e., the two are inversely proportional to each other. More specifically, a general distributed computing framework, motivated by commonly used structures like MapReduce, is considered, where the overall computation is decomposed into computing a set of "Map" and "Reduce" functions distributedly across multiple computing nodes. A coded scheme, named "Coded Distributed Computing" (CDC), is proposed to demonstrate that increasing the computation load of the Map functions by a factor of $r$ (i.e., evaluating each function at $r$ carefully chosen nodes) can create novel coding opportunities that reduce the communication load by the same factor. An information-theoretic lower bound on the communication load is also provided, which matches the communication load achieved by the CDC scheme. As a result, the optimal computation-communication tradeoff in distributed computing is exactly characterized. Finally, the coding techniques of CDC is applied to the Hadoop TeraSort benchmark to develop a novel CodedTeraSort algorithm, which is empirically demonstrated to speed up the overall job execution by $1.97 imes$ - $3.39 imes$, for typical settings of interest.

Motivation & Objective

  • To address the high communication overhead in data shuffling during distributed computing, especially in frameworks like MapReduce and Spark.
  • To investigate whether coding techniques can reduce communication load without increasing network bandwidth.
  • To characterize the fundamental tradeoff between computation load (Map phase) and communication load (shuffling phase) in distributed systems.
  • To design a coded scheme that achieves the optimal balance between computation and communication.
  • To validate the practical benefits of the proposed scheme through implementation on real-world benchmarks like Hadoop TeraSort.

Proposed method

  • Propose a coded distributed computing (CDC) framework that increases Map computation load by a factor of r through replication across r nodes.
  • Design a coded shuffling strategy that leverages redundant intermediate values to enable multicasting and reduce communication load by a factor of r.
  • Use a structured placement of input files and intermediate data to create coding opportunities across nodes.
  • Formulate the communication load as a function of r and derive an information-theoretic lower bound on the minimum achievable load.
  • Apply the CDC scheme to the Hadoop TeraSort benchmark, creating a CodedTeraSort algorithm that exploits coding for faster execution.
  • Demonstrate that even random placement of data with inherent redundancy (e.g., HDFS replication) can achieve near-optimal performance, validating robustness.

Experimental results

Research questions

  • RQ1Can coding techniques reduce communication load in distributed computing by exploiting computation redundancy?
  • RQ2What is the fundamental tradeoff between computation load and communication load in distributed systems?
  • RQ3Is there a coded scheme that achieves the information-theoretic lower bound on communication load for a given computation load?
  • RQ4Can the proposed CDC scheme be applied effectively to real-world workloads like TeraSort?
  • RQ5Does data redundancy in existing storage systems (e.g., HDFS) enable practical coded shuffling without explicit data placement control?

Key findings

  • The CDC scheme achieves a communication load reduced by a factor of r when the Map computation load is increased by the same factor, matching the information-theoretic lower bound.
  • The optimal computation-communication tradeoff is exactly characterized, proving that the proposed scheme is information-theoretically optimal.
  • The CodedTeraSort algorithm, based on CDC, accelerates job execution by 1.97× to 3.39× in typical Hadoop cluster settings.
  • Even with random data placement (e.g., HDFS-style replication), coded shuffling achieves communication loads close to the optimal CDC design.
  • The framework is extendable to hierarchical network topologies and edge/fog computing, where coding can reduce bandwidth and latency.
  • The results demonstrate that coding can be a transformative tool in distributed and edge computing, enabling scalable, low-latency computation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.