NTH

RNG: Flat Datacenter Networks at Scale

AuthorsGiacomo Bernardi, Ratul Mahajan, C. Seshadhri, Enrico Carlesso, Chinchu Merine Joseph, Saurabh Kumar, Pavan Manikonda, Luiza Popa, Randy Ram, Steven Robinson, Elizabeth Tennent

June 5, 2026 2 min read
Watch on YouTube
The one-line take

This paper introduces a cheaper, scalable datacenter network design that uses quasi-random graph routing and novel cable-shuffling hardware to beat or match fat-tree performance in production.

Key results

45%
Cheaper than fat trees

RNG is reported to be up to 45% cheaper than equivalent fat trees with the same oversubscription ratio.

50
Edge-disjoint paths (almost all pairs)

Spraypoint finds over 50 edge-disjoint paths for almost all endpoint pairs in a 64-degree fabric.

60
Edge-disjoint paths (half of pairs)

Spraypoint finds over 60 edge-disjoint paths for half of endpoint pairs in a 64-degree fabric.

5
8-shortest-path median edge-disjoint paths

For comparison, 8-shortest-path routing has a median of 5 edge-disjoint paths.

35
64-shortest-path median edge-disjoint paths

For comparison, 64-shortest-path routing has a median of 35 edge-disjoint paths.

What the paper found

“RNG: Flat Datacenter Networks at Scale,” from Amazon Web Services, presents the first production deployment of a flat expander-based datacenter fabric built from quasi-random graphs. The paper solves three long-standing blockers for expander topologies: scalable routing, practical cabling, and predictable design. Its Spraypoint protocol is a fully distributed, demand-oblivious routing scheme that uses ECMP plus controlled waypoint “spraying” to create close to the maximum number of edge-disjoint paths; in evaluation it finds over 50 edge-disjoint paths for almost all endpoint pairs and over 60 for half of them in a 64-degree fabric, versus a median of 5 for 8-shortest-path routing and 35 for 64-shortest-path routing. For physical deployment, RNG introduces ShuffleBox, a passive optical device that internally shuffles fiber connections so cabling complexity stays comparable to fat trees while preserving expander connectivity. The authors also derive analytic models for path length, oversubscription, and cost, showing that RNG can be 9–45 percent cheaper than equivalent fat trees and, at the same oversubscription ratio, often delivers higher throughput across clique, hub, and matching traffic patterns. In production benchmarks on Amazon’s server mesh and edge mesh, RNG matches fat-tree performance for multipath transport and storage workloads, despite variable path lengths. The key novelty is that Amazon is not just proposing an expander network; it has made one operational at scale and defaulted it for most workloads.

Original abstract

We design and deploy in production the first flat datacenter networks. Our design, called RNG, is based on quasi-random graphs. While the cost and fault-tolerance benefits of such topologies have been long known, their practical realization has been hampered by a lack of scalable routing and cabling approaches. RNG has a new distributed routing protocol that exploits the properties of random graphs to find a large number of edge disjoint paths between pairs of endpoints. It uses a novel passive optical device that internally shuffles cables, which makes its cabling complexity similar to that of fat trees. We show that RNG matches or exceeds the performance of fat trees for a range of traffic patterns, despite being up to 45% cheaper. RNG is now the default datacenter network for most workloads at Amazon.

Read the original paper

More in AI Hardware

Browse all 34 papers →