Skip to main content
QUICK REVIEW

[Paper Review] RepNet: Cutting Tail Latency in Data Center Networks with Flow Replication

Shuhao Liu, Wei Bai|arXiv (Cornell University)|Jul 4, 2014
Cloud Computing and Resource ManagementComputer Science26 references5 citations
TL;DR

RepNet is an application-layer transport protocol that reduces tail latency in data center networks by replicating mice flows across multiple paths to exploit path diversity. It uses two mechanisms—RepSYN (replicating only SYN packets) and RepFlow (full flow replication)—and achieves over 50% reduction in tail latency and application completion time, especially under high load, with minimal deployment overhead on existing infrastructure like node.js.

ABSTRACT

Data center networks need to provide low latency, especially at the tail, as demanded by many interactive applications. To improve tail latency, existing approaches require modifications to switch hardware and/or end-host operating systems, making them difficult to be deployed. We present the design, implementation, and evaluation of RepNet, an application layer transport that can be deployed today. RepNet exploits the fact that only a few paths among many are congested at any moment in the network, and applies simple flow replication to mice flows to opportunistically use the less congested path. RepNet has two designs for flow replication: (1) RepSYN, which only replicates SYN packets and uses the first connection that finishes TCP handshaking for data transmission, and (2) RepFlow which replicates the entire mice flow. We implement RepNet on { t node.js}, one of the most commonly used platforms for networked interactive applications. { t node}'s single threaded event-loop and non-blocking I/O make flow replication highly efficient. Performance evaluation on a real network testbed and in Mininet reveals that RepNet is able to reduce the tail latency of mice flows, as well as application completion times, by more than 50\%.

Motivation & Objective

  • To address the persistent problem of high tail latency in data center networks, especially for short, interactive mice flows.
  • To design a deployable, application-layer solution that does not require modifications to switches or end-host operating systems.
  • To leverage path diversity by replicating flows across multiple network paths to avoid congestion.
  • To minimize performance overhead, especially in incast scenarios, through lightweight replication techniques like RepSYN.
  • To evaluate the effectiveness of flow replication in real and emulated data center environments, demonstrating low-latency gains without infrastructure overhaul.

Proposed method

  • RepNet uses flow replication to send the same mice flow over multiple paths simultaneously, increasing the chance that at least one path remains uncongested.
  • RepSYN replicates only the SYN packet to initiate a second TCP connection, selecting the first completed handshake for data transmission to reduce overhead.
  • RepFlow replicates all packets of a flow across two TCP connections, improving latency resilience at the cost of higher bandwidth usage.
  • The protocol is implemented as a transport module on node.js, leveraging its single-threaded event loop and non-blocking I/O for efficient flow handling.
  • RepNet is orthogonal to existing congestion control schemes like DCTCP and pFabric, allowing coexistence and additive performance gains.
  • Performance evaluation is conducted on a real leaf-spine testbed and in Mininet with realistic flow size distributions from production networks.

Experimental results

Research questions

  • RQ1Can flow replication at the application layer significantly reduce tail latency in data center networks without requiring hardware or OS-level changes?
  • RQ2How does RepSYN, which replicates only SYN packets, compare to full flow replication (RepFlow) in terms of latency reduction and incast performance?
  • RQ3To what extent does flow replication improve application-level completion times for interactive workloads like bucket sort?
  • RQ4Why does RepNet show limited benefit under low network load, and how does the Mininet controller overhead affect evaluation results?
  • RQ5Can path diversity from flow replication provide measurable latency gains even in the presence of controller-induced delays in emulated environments?

Key findings

  • RepNet reduces tail latency (99th percentile) of mice flows by more than 50% under high network load in both real testbed and Mininet evaluations.
  • RepSYN achieves comparable or even better tail latency reduction than RepFlow in high-load scenarios due to stable RTT estimation of SYN packets across multiple paths.
  • In incast scenarios, RepSYN outperforms RepFlow by avoiding performance degradation caused by excessive packet replication.
  • Application-level completion times for a bucket sort workload improve by approximately 50% when using either RepFlow or RepSYN.
  • Under low load, RepNet shows minimal or no benefit, primarily due to controller-induced delays in Mininet, which do not reflect real-world conditions.
  • The implementation on node.js enables immediate deployment with minimal code changes, making RepNet practical for existing interactive applications.

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.