[Paper Review] Low latency via redundancy
This paper proposes using redundancy—executing operations multiple times across diverse resources and using the first completed result—as a general technique to reduce both mean and tail latency in networked systems. It demonstrates that redundancy significantly improves latency with minimal cost when system utilization is below 50%, and empirically validates this in DNS, databases, and network forwarding with up to 50× reduction in tail latency.
Low latency is critical for interactive networked applications. But while we know how to scale systems to increase capacity, reducing latency --- especially the tail of the latency distribution --- can be much more difficult. In this paper, we argue that the use of redundancy is an effective way to convert extra capacity into reduced latency. By initiating redundant operations across diverse resources and using the first result which completes, redundancy improves a system's latency even under exceptional conditions. We study the tradeoff with added system utilization, characterizing the situations in which replicating all tasks reduces mean latency. We then demonstrate empirically that replicating all operations can result in significant mean and tail latency reduction in real-world systems including DNS queries, database servers, and packet forwarding within networks.
Motivation & Objective
- To understand when redundancy improves latency despite increased system utilization.
- To characterize the tradeoff between latency reduction and resource cost in redundant systems.
- To empirically validate redundancy in real-world systems like DNS, databases, and packet forwarding.
- To identify conditions under which redundancy is cost-effective and widely applicable.
- To advocate for broader adoption of redundancy as a general low-latency technique in networked systems.
Proposed method
- Develops a queueing model to analyze expected response time as a function of system utilization and service time distribution.
- Uses simulations to evaluate the impact of redundancy across various service time distributions and load levels.
- Empirically measures latency reduction in real systems, including DNS queries, database operations, and TCP connection setup.
- Compares redundant queries to single queries across multiple DNS servers and measures tail latency improvements.
- Analyzes cost-effectiveness by comparing latency savings per unit of added traffic or bandwidth.
- Evaluates redundancy in both wide-area and data center environments, including scenarios with path diversity and no path diversity.
Experimental results
Research questions
- RQ1Under what system utilization conditions does redundancy reduce mean and tail latency despite doubling resource usage?
- RQ2How does the service time distribution affect the effectiveness of redundancy in reducing latency?
- RQ3What is the optimal number of redundant queries that maximizes latency reduction while remaining cost-effective?
- RQ4In which real-world systems does redundancy provide measurable performance gains?
- RQ5How does redundancy compare to other latency-reduction techniques like prefetching or caching?
Key findings
- Redundancy reduces the fraction of DNS responses exceeding 500 ms by 6.5× and those exceeding 1.5 seconds by 50× compared to single queries.
- When system utilization is below 50%, redundancy always reduces mean latency, regardless of service time distribution.
- The threshold for redundancy to be effective lies between 25% and 50% utilization, approaching 50% as service time variance increases.
- Replicating TCP SYN packets saves approximately 170 ms in mean latency and 880 ms in tail latency.
- The cost-effectiveness of redundancy exceeds 100× better than the break-even threshold when client costs are based on DSL rather than cellular data.
- Redundancy provides a net positive impact in a wide range of systems, even when accounting for doubled system utilization.
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.