Remix.run Logo
Flat Datacenter Networks at Scale at Amazon(perspectives.mvdirona.com)
83 points by tanelpoder 21 hours ago | 17 comments
epistasis 4 hours ago | parent | next [-]

Oh man, James Hamilton blog posts, I love these things! (Edit: for more concrete details, the Arxiv paper linked from the blog post is here https://arxiv.org/pdf/2604.15261 and the amazon.science link has some higher level view of the details https://www.amazon.science/blog/how-flat-is-replacing-fat-in... )

> The results were striking: compared to traditional fat-tree networks, RNG (Resilient Network Graphs) uses 69% fewer routers, delivers 33% higher throughput, cuts network power by 40%, and lowers operating costs by 27. In early 2026, RNG became the default design for most newly built Amazon data centers globally.

> For cabling, they developed the ShuffleBox—a passive optical device whose internal wiring combined with randomized ShuffleBox-to-ShuffleBox cabling yields “quasi-random” graphs that behave like truly random graphs.

This is pretty incredible, random layouts of networks that have on-average better properties...

I'm really curious about the long tail of performance though. What is the worst case scenario here? And are there some better case scenarios? Uniformity in Clos networks is pretty great, but many loads don't need uniformity, and if these RNG-based networks have non-uniformity, perhaps that has operational characteristics that can be helpful or harmful.

UltraSane 3 hours ago | parent [-]

"Performance guarantees are stochastic rather than deterministic. The worst case performance (for metrics such as number of hops and oversubscription) is known, but for RNG our models are stochastic (i.e., the worst case performance is known with high probability). This is a weaker limitation than it might appear. Fat-tree guarantees are also effectively stochastic once you account for real-world failures, which are frequent at scale. RNG simply makes the stochastic nature explicit and designs for it from the start."

epistasis 2 hours ago | parent [-]

Well I guess I'd like to see those guarantees, but more specifically, the variance of them.

I think Section 9, and Figures 13/14 in the Arxiv preprint sort of address this, but it doesn't mention anything about accounting for real-world failures in fat trees. I haven't had a chance to read it all, though...

socketcluster 4 hours ago | parent | prev | next [-]

Interesting reading this because this is essentially the principle behind https://socketcluster.io/ scalability; the sharding of channels across available brokers is pseudo-random. It uses a hash function for determinism but the distribution appears to be random and that was also the best way I could find to distribute load evenly between available nodes. It is key to its embarrassingly parallel design.

It's interesting to see it being done at the data centre level as well.

protocolture an hour ago | parent | prev | next [-]

I get the feeling I am missing some info (Like what is meant here by Data Center Networks) thats preventing me from understanding whats happening here. I am guessing that this falls outside of the traditional rack/colo paradigm and has more to do with hyperscalers.

wmf 17 minutes ago | parent | next [-]

It's much larger but fundamentally it's not that different. In each rack you have one or two switches. How do you connect those racks to each other? The standard answer (simplified) is centralized spine switches but AWS discovered that a random network where the rack switches connect directly to each other is cheaper.

jeffbee an hour ago | parent | prev [-]

AWS hasn't published all that much about their network, but we know they use a high-radix folded Clos fabric because they mention it in their paper about Scalable Reliable Datagram. If you want an overview of the folded Clos fabric, try reading Google's "Jupiter Rising" paper. https://dl.acm.org/doi/pdf/10.1145/2829988.2787508

jsolson 2 minutes ago | parent [-]

Then, if you want to know about using optical switches to connect Clos segments without a fixed spine, check out Google's "Mission Apollo" paper: https://arxiv.org/pdf/2208.10041

fdr 2 hours ago | parent | prev | next [-]

I always like these randomized/semi-randomized network papers. Here's a little known one you might enjoy if you liked this one. https://repositorio.unican.es/xmlui/handle/10902/23594

kev009 4 hours ago | parent | prev | next [-]

It's not that dissimilar to how the Internet works. Although you have some steering like IX peering switches, and social/economic factors, but in whole it is fairly random.

wofo 2 hours ago | parent | prev | next [-]

The win in operating costs is impressive, bordering in the unbelievable (27x). Does anyone have a clue about where the win comes from?

mattclarkdotnet an hour ago | parent | next [-]

It's almost certainly meant to be 27%, not a factor of 27.

jeffbee an hour ago | parent | prev [-]

I am fairly confident that is a typo. The paper says "Our analysis reveals that RNG topologies are 9–45% cheaper than fat trees with equivalent oversubscription ratio." The blogger probably left off the % sign.

mino 2 hours ago | parent | prev | next [-]

Good 6 minute video explainer: https://youtube.com/watch?v=yDoRYRRPOA0

jeffbee an hour ago | parent [-]

I am moderately insulted that they want me to believe that graph theoreticians at Amazon sit at a desk with a bunch of optical T&M equipment. Sort of silly!

cyberax 2 hours ago | parent | prev [-]

One interesting consequence of this is that it's now (for the first time!) possible to get unlimited AWS egress.

It's not cheap, and it's limited to `us-east-1`, but it's at least _possible_ now via AWS Interconnect: https://aws.amazon.com/interconnect/lastmile/pricing/

wmf an hour ago | parent [-]

I don't think these things have anything to do with each other.