How to build a 30M RPS CDN in 30 days with Rust and WASM
Blog post from Railway
Railway has launched its new content delivery network (CDN), named Hikari, which integrates with their cloud computing platform to offer enhanced performance and unique capabilities over traditional CDNs. Built from the ground up, this network leverages WebAssembly (WASM) for efficient data handling and employs BGP anycast for global traffic routing, though it encounters challenges with geographic routing precision. This bespoke CDN, capable of handling peak traffic of 1 million requests per second and mitigating DDoS attacks, evolved from the need to support Railway's rapid development pace and non-standard user demands, which existing providers couldn't accommodate. Hikari's architecture enables zero downtime upgrades and dynamic BGP configuration, providing real-time observability and control. As of now, it supports 60 points of presence (POPs) worldwide, with further expansion planned, and serves all Railway traffic, offering a developer-friendly networking experience.