[Paper Review] Diversity/Parallelism Trade-off in Distributed Systems with Redundancy
This paper analyzes the trade-off between diversity (via redundancy) and parallelism in distributed systems with limited servers, proposing an optimal strategy that minimizes expected job completion time. It derives closed-form expressions for expected completion times under different service time distributions—Erlang, Pareto, and bi-modal—and shows that optimal redundancy levels and code rates vary significantly across distributions, necessitating tailored system designs for performance optimization.
As numerous machine learning and other algorithms increase in complexity and data requirements, distributed computing becomes necessary to satisfy the growing computational and storage demands, because it enables parallel execution of smaller tasks that make up a large computing job. However, random fluctuations in task service times lead to straggling tasks with long execution times. Redundancy, in the form of task replication and erasure coding, provides diversity that allows a job to be completed when only a subset of redundant tasks is executed, thus removing the dependency on the straggling tasks. In situations of constrained resources (here a fixed number of parallel servers), increasing redundancy reduces the available resources for parallelism. In this paper, we characterize the diversity vs. parallelism trade-off and identify the optimal strategy, among replication, coding and splitting, which minimizes the expected job completion time. We consider three common service time distributions and establish three models that describe scaling of these distributions with the task size. We find that different distributions with different scaling models operate optimally at different levels of redundancy, and thus may require very different code rates.
Motivation & Objective
- To characterize the fundamental trade-off between diversity (redundancy) and parallelism in resource-constrained distributed systems.
- To identify the optimal redundancy level (i.e., code rate) that minimizes expected job completion time under fixed server constraints.
- To model how service time distributions scale with task size, enabling accurate prediction of system performance.
- To compare replication, coding, and splitting strategies under different statistical service time models.
Proposed method
- Derives exact and approximate expressions for the expected k-th order statistic of i.i.d. random variables representing task completion times under three service time distributions: Erlang, Pareto, and bi-modal.
- Uses order statistics theory to compute the expected completion time of a job when any k out of n tasks are sufficient for completion.
- Applies Stirling’s approximation and Gautschi’s inequality to derive asymptotic approximations for the Gamma function ratios in the Pareto model.
- Introduces a generalized birthday problem framework to model the expected time until d distinct coupons are collected, used to analyze the bi-modal distribution case.
- Develops a recursive method to compute coefficients in the generating function expansion for the Erlang model, enabling efficient computation of expected completion times.
- Validates analytical results through numerical evaluation across different task size scaling models and system parameters.
Experimental results
Research questions
- RQ1What is the optimal redundancy level (i.e., number of redundant tasks) that minimizes expected job completion time in a distributed system with a fixed number of servers?
- RQ2How do different service time distributions—Erlang, Pareto, and bi-modal—affect the optimal balance between diversity and parallelism?
- RQ3How does the scaling of service time with task size influence the optimal code rate and system performance?
- RQ4Can closed-form or tractable approximations be derived for the expected completion time under various service time models?
- RQ5How does the choice of redundancy strategy (replication vs. erasure coding) depend on the underlying service time distribution and task size scaling?
Key findings
- The optimal redundancy level varies significantly across service time distributions: Pareto-distributed tasks favor higher redundancy, while Erlang-distributed tasks perform best with moderate redundancy.
- For the Pareto distribution, the expected completion time scales approximately as n^{1 - 1/α} for large n, indicating that heavy-tailed service times benefit from increased redundancy.
- In the bi-modal service model, where tasks are either fast or very slow, the optimal strategy depends on the probability of straggling workers and the task size, with higher redundancy preferred when straggling is likely.
- The Erlang model yields a closed-form expression for expected completion time using order statistics and generating functions, enabling precise performance evaluation.
- The generalized birthday problem approximation provides an accurate asymptotic estimate for the expected time to collect d distinct outcomes, which is critical for analyzing the bi-modal case.
- The study demonstrates that a one-size-fits-all redundancy strategy is suboptimal—optimal code rates must be tailored to the specific service time distribution and task size scaling behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.