Summary: Moving from inside a rack to between racks changes more than cable length: it also changes the transmission conditions for high-speed signals, cabling density, patching methods and maintenance cost. A rack can contain copper cables, AOCs and pluggable optical modules at the same time, while cross-rack links require a more careful check of the actual routed length and the optical link budget. Rack position also cannot be equated directly with Scale-up or Scale-out. Using three scenarios, this article explains how to choose a connection scheme according to communication needs.

Take two GPU servers: what is the difference between connecting them within one rack and connecting them across several rows of racks?
Intuitively, the cable just gets longer. In actual design, though, the module type, the number of fiber cores, the patch panels and the way faulty parts are replaced may all change.
What decides the scheme is not only “whether they are in the same rack,” but what the connection needs to carry, how fast it must run, how far it actually runs, and how it will be maintained afterward.
01 | First, Separate Two Questions: Where It Sits and What It Connects
“In-rack” and “between racks” describe physical location; “Scale-up” and “Scale-out” describe how a system is extended and interconnected. They are not the same classification.
Scale-up usually emphasizes forming a tighter compute interconnect domain among a group of accelerators, while Scale-out connects more compute nodes through a network. The specific protocols, bandwidths and software usage differ by platform.
Some rack-scale systems place the Scale-up interconnect inside a single rack, but that does not mean all Scale-up must stay within one rack. Conversely, two independent servers placed in the same rack that cooperate over a cluster network cannot be called Scale-up merely because of the short distance.
Therefore, “inside the rack means NVLink, between racks means Ethernet” cannot be treated as a general rule, nor can “copper inside the rack, optics between racks.”

The first step of design is to confirm the connection endpoints and the communication system. Ordinary Ethernet optical modules, InfiniBand interconnects and platform-specific accelerator connections are not interchangeable just because their form factors are similar and their speeds are the same.
02 | In the Rack: Short Distances Offer More Choices, but Space Is Tighter
Common in-rack connections include server-to-access-switch links, short-distance interconnects between different devices, and dedicated connections within a platform. This article discusses the cabling and optical choices in these scenarios; it does not count every in-chassis bus as an optical network.
If both ends are close together and the ports support it, a passive DAC is often worth considering. It does not need a pair of separate optical modules, so its cost and power consumption may have an advantage. But speed, wire gauge, connectors and device compatibility all affect the usable length.
Active cables improve transmission conditions through corresponding circuitry, which also introduces power consumption and different compatibility requirements. One cannot assume all products have the same distance and power just because they are all called “copper cables.”
When cabling density, weight, bend space or distance becomes a limit, AOCs, or optical modules plus fiber, can also be used inside the rack. Optics is not valuable only across racks.
The difficulty of in-rack connections is often cabling and maintenance under high-density conditions. Thick cables concentrated at the back of the rack take up space; fiber is thinner, but bend radius, pulling force and slack still need to be controlled, and it cannot be squeezed at will.
An AOC is usually a finished cable with optical-electrical components at both ends. It is convenient to deploy at a fixed length, but fault handling often treats the whole cable as the replacement unit. Pluggable modules plus separate fiber keep the module and the cabling apart so that each can be maintained independently, at the cost of managing more connections and materials.
03 | Adjacent Racks: Don’t Substitute Straight-Line Distance for Cable Length
Two racks are separated by only an aisle, and it looks as if a few meters would connect them. But the cable may need to go up to the cable tray, run horizontally to the other side, then come down to the device port, with reasonable slack left over.
So the horizontal distance between racks does not equal the final cable length. Before selection, measure along the actual cable route instead of first buying a batch of cables that “look long enough.”
Between adjacent racks, a verified copper cable that meets speed, distance and installation requirements can still be used. If those conditions are not met, optical connections can usually offer more flexible layout room.
For example, some 400G multimode products support reaches on the order of 50 meters, but specifications differ among standards, fiber types and products; one cannot see the letters SR and assume 100 meters is supported across the board.
Nor can one assume that “if the distance is not exceeded, it will certainly work.” Intermediate patch connections, module compatibility, polarity and link loss all need to be checked together.
04 | Across Rows and Zones: Fiber Cabling Becomes Infrastructure
As distance grows further, cables may pass through multiple cable bridges and patching areas. At this point the design focus gradually shifts from “connecting two devices” to “building a scalable, maintainable cabling system.”
Single-mode fiber is often used for longer-distance high-speed connections. Taking the standards 400GBASE-DR4 and 400GBASE-FR4 as examples, the former targets 500 meters and the latter 2 kilometers; specific products still need to be checked against the corresponding standard, optical parameters and conditions of use.
The difference between the two is not only distance. DR4 uses parallel optical lanes, typically needing 4 fibers in each direction, for 8 active fibers in total for transmit and receive; FR4 multiplexes several wavelengths onto a single fiber in each direction, usually using a duplex single-mode connection.
This affects fiber resources, connectors and the cabling approach. The number of holes in an MPO housing should also be distinguished from the number of fibers actually used. As for which option saves more money, modules, fiber, patch panels, testing and maintenance must be calculated together.

Cross-rack does not necessarily mean a 2-kilometer module is required. If a 500-meter-class solution already meets the actual length and link budget, one cannot conclude that the distance class is insufficient merely because it “crosses racks.” Long-reach modules are also not necessarily suitable for all short links; transmit power, receive range and vendor requirements must be observed.
05 | Optical Link Budget Is More Complete Than “Is the Rated Distance Enough?”
The distance printed on an optical module does not mean that fiber of any length and any number of connectors can be stacked together.
The loss of an optical link comes from the fiber itself, connectors, connections in patch panels, splice points, and possibly contamination or other anomalies. Design should calculate insertion loss, return loss and other requirements according to the corresponding specifications, and leave a reasonable margin.
Imagine two routes: one connects two devices directly, the other passes through several patching locations. Even if their total lengths are close, their connection loss, fault-location points and maintenance methods may differ.


Therefore, a link register should at least record both end ports, module models, fiber type, actual length, connection path and polarity. Before a link goes into service, testing and acceptance should follow the relevant specifications; one cannot judge that all performance is acceptable just because “the light comes on.”
06 | Does Greater Distance Always Mean Worse Latency?
Physical propagation time increases with distance. Roughly estimated at about 5 nanoseconds per meter for one-way propagation in ordinary optical fiber, an extra 100 meters adds about 0.5 microseconds of one-way propagation time. This estimate counts only propagation through the medium, not the transceivers and switching equipment.
Real communication also includes electrical-optical conversion, signal processing, switching and forwarding, queuing, and host software overhead. An extra switching hop, egress congestion or task synchronization may affect the workload more than a small difference in distance.
Therefore, one cannot assume low latency for an in-rack link just because it is short, nor assume a cross-rack link is faster just because it uses light. When comparing schemes, keep the endpoints, rate, load and measurement methodology consistent.
For AI workloads, whether bandwidth is sufficient, whether there is local congestion and whether tail latency is stable are often more meaningful than comparing the propagation time of a single cable in isolation.
07 | When Selecting, Judge in This Order
First, confirm the protocol and endpoints: is the connection NIC to switch, switch to switch, or a platform-specific accelerator interconnect? What modes, form factors and cables does the equipment support?
Second, measure the actual length and density: which path will the cable take, is there a patch panel, does it need to be broken out, and will it later be relocated or expanded?
Third, compare complete solutions: what are the total cost and energy consumption of copper, AOC, and optical modules plus fiber, and when a fault occurs, do you replace a module, a cable, or a larger component?
Finally, plan acceptance and maintenance: labels, polarity, cleanliness, optical power and link test records should all be part of the deliverables.
The location of optical-electrical conversion is also changing. Schemes such as CPO may move the optical engine near the main chip, but this does not eliminate between-rack fiber and patching management; instead, it requires system maintenance boundaries to be redefined clearly.
From inside the rack to between racks, the core change is that connection conditions and the scope of management have expanded. Only by choosing the right medium, port and cabling method can a high-speed link become AI infrastructure that runs stably over the long term.

