Warehouse-Scale & Datacenter Computing

the datacenter network

Imagine a giant office building where every desk has a phone, and any worker might need to call any other worker at any moment, all day long. The building's internal phone system — the wiring, the switchboards, how floors connect to floors — decides how fast people can collaborate. In a warehouse-scale computer the equivalent is the datacenter network: the switches and cables that let any of tens of thousands of servers send data to any other. Because a single user request often fans out across thousands of machines and their answers must come back and merge, this internal network is not a side detail — it is the nervous system that decides whether the building behaves like one fast computer or a slow crowd.

The network is built as a hierarchy that mirrors the physical layout. Each server connects to a top-of-rack switch shared by the dozens of servers in its rack. Those rack switches connect upward to aggregation switches, which connect to a core layer, forming a tree (modern designs use a fat-tree or Clos fabric with many parallel paths so the upper layers do not become a single bottleneck). Bandwidth is plentiful and latency tiny inside a rack — two servers a meter apart talk almost instantly — and both get worse as traffic has to climb the tree and cross between racks. So a key fact of WSC life is that not all server-to-server links are equal: where two pieces of work sit relative to each other changes how fast they can communicate.

This is why software placement matters so much. A scheduler tries to put pieces of a job that talk a lot into the same rack, so their chatter stays on the cheap, fast intra-rack links and avoids the scarcer, slower cross-cluster bandwidth. The network's structure leaks into how programs are designed: data layout, replica placement, and which machines cooperate are all shaped by the cost of moving bytes between them. Get the network wrong and the whole WSC stalls, no matter how fast the individual CPUs are.

An honest note: the headline 'a server can reach any other server' is true but not uniform. The tree is usually oversubscribed — there is far more bandwidth down at the servers than up at the core — so if too many machines try to send across the building at once, the upper links saturate and everything slows. The network is a shared, finite resource, and at scale it is often the real bottleneck, not the processors.

Two servers in the same rack talk through one top-of-rack switch with low latency and full bandwidth. Two servers in different clusters must travel up to the core and back down — more hops, higher latency, and shared upper links that may be congested. Same fleet, very different communication cost.

Where two servers sit in the network tree determines how fast they can exchange data.

Not all links are equal. Intra-rack bandwidth is cheap and fast; cross-cluster bandwidth is scarce and often oversubscribed. Good placement keeps chatty work close together.

Also called
DC networkdatacenter fabric資料中心互連網路骨幹