Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Railway 9 min read Case study easyNovice

The next generation of Metal; Railway Metal Gen 2

Railway has rolled out a second generation of its self-owned bare-metal infrastructure, with roughly 5x the compute and network throughput of Gen 1. The rebuild was driven by heavier workloads that shifted the CPU:RAM demand ratio from 1:20 toward 1:8, a tripling of RAM prices, and a demand spike that left a new Gen 1 site with only about three months of runway. Gen 2 uses AMD Zen 5c EPYC hosts with DDR5 and dual 100G NICs, NVMe storage servers with 4x 100G, and a Tomahawk 3 fabric with 400G spine uplinks, consolidating four SKUs into two and cutting network capex per host by about 30%. Each Gen 2 site sits beside its Gen 1 sibling over dark fiber; Gen 1 keeps running existing workloads while new and stateful workloads migrate over, and about 40% of workloads currently burst to GCP/AWS.

Related posts

  • Meta’s Infrastructure Evolution and the Advent of AI

    Meta Engineering easyNovice

    Meta's infrastructure grew from a LAMP stack with per-university databases to a global fleet of millions of machines. Along the way it added Memcache and TAO, edge POPs, a backbone network, cache-invalidation systems for cross-region consistency, and fleet systems such as Twine, Tectonic, ZippyDB, Shard Manager, Kraken, Taiji and Maelstrom. AI workloads changed those assumptions. Recommendation models brought GPUs into the fleet, and LLM training pushed synchronous jobs from 128 to thousands of GPUs, where one failure halts the whole job; Meta reports cutting the interruption rate by about 50x. It went on to build two 24k H100 clusters (InfiniBand and RoCE), a 129k-H100 cluster made by emptying five data centers, air-assisted liquid-cooled GB200 racks, AMD MI300 deployments, and its own MTIA silicon for ranking and ads inference.

  • MetaRoCE: A New RDMA Transport Built for AI-Scale Ethernet

    Meta Engineering hardMaster

    MetaRoCE is a clean-sheet RDMA transport for AI workloads on lossy commodity Ethernet. It moves intelligence from switches to the NIC: per-packet spraying across many first-class paths (distinct UDP source ports for ECMP entropy), native out-of-order placement with no reorder buffer, no PFC, per-path 256-bit SACK for immediate retransmission, and ECN-based AIMD combined with receiver-driven fair-share rate hints that resolve incast in one or two RTTs. A single connection multiplexes many ordered streams over many paths under one congestion controller, while existing Verbs APIs keep working. On a 64-node AMD GPU cluster using Pensando NICs it beat RoCEv2, held about 86% throughput at 1% loss, and scaled linearly across 4- and 8-plane fabrics. Meta is releasing the spec, a software reference implementation and a compliance suite through OCP.

  • So You Want to Build Your Own Data Center

    Railway mediumAdept

    Railway moved off Google Cloud by building its own colocation cages, going from project kickoff to first live site in California in about eight months. Power is the binding constraint more than floor space. That drives server choice by power density, dual independent feeds per rack, and metered, remotely controlled PDUs. Networking relies on at least two regionally strong Tier 1 ISPs per site, full BGP tables to pick paths per prefix, and dark fiber or wavelength links between zones. The physical build involves hot/cold aisle layout, 800mm racks, reverse-airflow switches and cabling matrices covering 300+ cables, plus a catalogue of real installation surprises such as WYE vs Delta wiring and fiber polarity.

  • Reinventing Facebook’s data center network

    Meta Engineering hardMaster

    Meta redesigned its data center network around F16, a fabric with 16 single-chip planes of 128x100G switches built on Broadcom Tomahawk 3. It delivers 4x the per-rack bandwidth (1.6T) using mature 100G CWDM4 optics instead of scarce, power-hungry 400G. Compared with a multichip 400G design it needs 3x fewer fabric chips and cuts hops to six intra-fabric and eight inter-building. The core building block is Minipack, a modular single-ASIC switch that uses half the power and space of Backpack, with swappable PIMs for 40G–400G ports and reverse gearboxes bridging 50G PAM4 SerDes to 25G NRZ optics. HGRID extends Fabric Aggregator to connect six buildings per region, all running FBOSS.

  • Building Meta’s GenAI Infrastructure

    Meta Engineering easyNovice

    Meta built two 24,576-GPU NVIDIA H100 clusters for GenAI training, including Llama 3. One uses a RoCE fabric on Arista 7800 and OCP switches and the other uses InfiniBand, both with 400 Gbps endpoints, on Grand Teton servers. Storage combines a FUSE API over a flash-optimized Tectonic for synchronized checkpointing with a Hammerspace parallel NFS for interactive debugging. Large-cluster AllGather utilization initially ranged from 10% to 90%. Topology-aware job scheduling, routing changes and NCCL tuning brought it back above 90%, and PyTorch process-group startup dropped from hours to minutes.

The quest for software engineering knowledge.

Look:
Layout: