Skip to main content
QUICK REVIEW

[Paper Review] Coded TeraSort

Songze Li, Sucha Supittayapornpong|arXiv (Cornell University)|Feb 16, 2017
IoT and Edge/Fog ComputingComputer Science4 citations
TL;DR

Coded TeraSort proposes a novel distributed sorting algorithm that reduces the data shuffling bottleneck in Hadoop MapReduce by introducing structured redundancy in data, enabling in-network coding. Evaluated on Amazon EC2, it achieves 1.97x to 3.39x speedup over traditional TeraSort across typical workloads.

ABSTRACT

We focus on sorting, which is the building block of many machine learning algorithms, and propose a novel distributed sorting algorithm, named Coded TeraSort, which substantially improves the execution time of the TeraSort benchmark in Hadoop MapReduce. The key idea of Coded TeraSort is to impose structured redundancy in data, in order to enable in-network coding opportunities that overcome the data shuffling bottleneck of TeraSort. We empirically evaluate the performance of CodedTeraSort algorithm on Amazon EC2 clusters, and demonstrate that it achieves 1.97x - 3.39x speedup, compared with TeraSort, for typical settings of interest.

Motivation & Objective

  • To address the data shuffling bottleneck in large-scale sorting within Hadoop MapReduce frameworks.
  • To improve the performance of the TeraSort benchmark, a standard workload for distributed sorting.
  • To design a coded data shuffling mechanism that enables network coding gains without sacrificing correctness or scalability.
  • To empirically validate the speedup of the proposed algorithm in real-world cloud environments like Amazon EC2.

Proposed method

  • Introduce structured redundancy in input data to enable in-network coding during the shuffle phase of MapReduce.
  • Design a coding scheme that maps data partitions to coded packets, allowing receivers to decode missing data using linear combinations.
  • Modify the MapReduce pipeline to integrate coded data transmission, replacing standard shuffle with coded shuffling.
  • Ensure backward compatibility with existing Hadoop infrastructure by preserving the map and reduce interface.
  • Use random linear network coding principles to generate coded packets at the shuffle stage, reducing the total number of transmissions.
  • Evaluate the algorithm using real-world workloads on Amazon EC2 clusters to measure end-to-end sorting performance.

Experimental results

Research questions

  • RQ1Can structured redundancy in data reduce the communication cost of data shuffling in MapReduce sorting?
  • RQ2How much performance gain can be achieved by enabling in-network coding in the TeraSort workload?
  • RQ3What is the impact of coded shuffling on end-to-end sorting latency in cloud-based Hadoop clusters?
  • RQ4How does the coded approach scale across varying cluster sizes and data volumes compared to traditional TeraSort?
  • RQ5Can the proposed method maintain correctness and compatibility with standard Hadoop MapReduce while improving performance?

Key findings

  • Coded TeraSort achieves a 1.97x to 3.39x speedup over standard TeraSort in Amazon EC2 clusters under typical workloads.
  • The performance gain is primarily due to reduced data shuffling overhead enabled by in-network coding.
  • The algorithm maintains compatibility with existing Hadoop MapReduce frameworks without requiring low-level modifications.
  • The speedup is consistent across different cluster sizes and data volumes, demonstrating scalability.
  • The use of structured redundancy enables efficient decoding at the reducer nodes, minimizing computational overhead.
  • Empirical results confirm that coded shuffling significantly reduces the bottleneck in the sorting pipeline.

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.