Going multi-cloud with an in-housed status page
Railway built its own status page, hosted on Railway itself, behind a Cloudflare Worker so the public page survives an origin outage. The Worker acts as a transparent proxy with its own stale-while-revalidate layer: it stamps cached responses with an x-cached-at header, refreshes in the background after 5 seconds, and serves the last good render for up to a week if origin disappears. During real incidents a Cloudflare KV flag switches the Worker to serve a self-contained incident page that on-call can edit live, while JSON pollers still get JSON. The page also adds a "Notice" state that acknowledges an issue before it is declared an incident, and the same distributed-routing approach now backs Railway's multi-region network plane.
Related posts
- Incident Report: October 16th, 2025
Railway easyNoviceA traffic spike on Railway's Edge Network coincided with a routine edge service upgrade and exhausted memory in an internal routing service that was already running at high utilization. New proxies could not initialize, failed health checks and were pulled by load balancers, causing 2-3 minutes of intermittent HTTP/TCP failures (404s, 522s) across all regions while private networking stayed unaffected. Recovery came as caching absorbed the load. Fixes include higher memory limits, tiered memory alerts and overload safeguards, with a memory-efficient rewrite and a multi-region architecture planned to isolate failures per region.
- Railway vs Cloudflare: How Their Architectures Differ and When to Use Each
Railway mediumAdeptRailway and Cloudflare's Developer Platform feel similar on the surface but rest on opposite compute models. Railway runs long-lived regional containers with stable in-memory state, persistent volumes and up to 32 vCPU/32 GB per instance. Cloudflare Workers are edge-first, single-threaded V8 isolates capped at 128 MB memory and CPU-time limits, with no filesystem or reliable global state, so state needs Durable Objects, KV, D1, R2 or external databases via Hyperdrive. The recommended pattern is to combine them, with Cloudflare as the global front door (CDN, caching, routing, security) and Railway hosting stateful backends, databases and long-running work.
- How we built it: incident.io Status Pages
incident.io mediumAdeptincident.io built its Status Pages product in three months on Vercel and Next.js, using Incremental Static Regeneration with per-fetch revalidate times (e.g. 30s) so the backend serves only a couple of requests per minute regardless of traffic spikes. Pages are pre-built via generateStaticParams, added on demand when created, and refreshed with stale-while-revalidate, while the client uses the SWR library with a 10s refreshInterval, revalidateOnFocus and server-rendered fallbackData for live updates. Server rendering is pinned to Vercel's Dublin region next to the API, and live-reload requests are proxied through Next rewrites. The main pain point was hydration mismatches from relative times and locale/time-zone formatting, handled with explicit luxon zones/locales and lint rules against unguarded "now".
- Incident Report: Feb 18-21 DDoS + Cloudflare Outage
Railway mediumAdeptBetween Feb 18 and 21, 2026, a series of nine DDoS attacks, some reaching about 1 Tbps, caused intermittent 4xx/5xx errors and outages across Railway's shared HTTP proxy layer. Fiber cuts had already reduced upstream bandwidth, so attacks that would normally be absorbed could saturate the shared proxies. When the primary Cloudflare-based mitigation failed mid-attack and the attacker switched from L4 TCP floods to L7 HTTP, Railway rotated proxy IPs, moved Business and Enterprise customers onto a separate proxy shard, and did an emergency platform-wide rollout of a Fastly WAF. That rollout caused its own problems: about 2,700 endpoints hit TLS certificate errors (mostly from A-record setups), long-lived connections were cut at 10 seconds, certificate collisions affected Cloudflare-fronted custom domains, and WAF tuning briefly blocked legitimate traffic from Asia, alongside a separate upstream Cloudflare BGP prefix withdrawal.
- Incident Report: July 2, 2026 — US East Services Outage
Railway mediumAdeptAn upstream Tier 1 carrier's backbone degradation caused packet loss between Railway's US regions, and while routing around it, engineers disconnected the last carrier supplying a default route to a first-generation US East site, leaving it without a stable internet route for about 20 minutes. That instability exposed latent bugs: Linux hosts fell back to a slow management network for storage traffic, and connections stayed pinned there after recovery, capping throughput at a third and pushing I/O wait to 58%. WireGuard-style mesh tunnels also learned a NAT device's address as their peer and, being silent when idle, never self-corrected, blackholing about 20,000 links until agents were restarted. Fixes include self-generated default routes at older sites, making missing fabric routes fail closed instead of falling back, and alerting on management-network utilization and blackholed links.