Skip to content

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

Railway 4 min read Incident mediumAdept

Incident Report: June 11th, 2024

A buggy host-migration workflow that issued a redeploy per replica rather than per deployment coincided with normal deploys, hourly crons and failed European placements, quadrupling load on an IO-heavy machine status endpoint that the scheduler polls across all regions. Status timeouts triggered retries that spread unschedulability between regions, leaving about 20% of US and EU instances degraded and some needing full restarts, with up to 20 minutes of downtime per workload. Fixes include caching status responses (the V2 runtime uses an in-memory database instead of files), global rate limits on workers, region-scoped scheduler dialing, and reaper tuning to evict Hobby stateless workloads first.

Related posts

  • Incident Report: November 25th, 2025

    Railway mediumAdept

    Slow GitHub API calls (about 4x normal p95 latency) during peak hours backed up Railway's Temporal-based task queue, causing workers to run out of memory and crash in a cascading thundering-herd pattern as surviving and newly started workers were overwhelmed by the backlog. Deployments for Free, Trial and Hobby tiers were paused and Pro deploys delayed for roughly two and a half hours, while running services stayed online. Recovery came from increasing worker CPU and memory and fixing worker parameters that made them request more tasks than they could handle. Follow-up measures include an auto-tuning algorithm for worker task intake, more task queue capacity, and removing external API dependencies from critical workflows.

  • Incident Report: November 20th, 2025

    Railway easyNovice

    A dip in GitHub push webhooks followed by a 10x surge flooded Railway's asynchronous deployment task queue, delaying all new deployments for about two and a half hours on November 20th, 2025. Workers locked up under memory pressure, so the team added and restarted workers and shed load by disabling deployments tier by tier (Free/Trial/Hobby, then Pro), re-enabling them in reverse order as recovery came. Running services and networking were unaffected. Follow-ups include segmented queue alerts, monitoring for deployment spikes, and fixing the worker lockup under memory pressure.

  • Service disruption on October 20, 2025

    incident.io mediumAdept

    The October 20, 2025 AWS us-east-1 outage degraded incident.io through third-party dependencies even though it runs on Google Cloud: its transcription, SAML, telecom and status page providers were all affected. Delayed SMS and phone notifications cascaded because notification queues shared worker capacity, and slow retries stretched jobs to 30s. Fixes were blocked by a hidden Docker Hub base-image dependency in the deploy pipeline. Scaling escalation workers made things worse because dead tuples in a Postgres index made queue acquisition consume about 50% of worker capacity, and a rate-limiter bug applied limits only to the top 10 organisations. Remediations include a self-contained GCP build pipeline, region failover for Scribe, aggressive autovacuum, reworked acquisition logic, and per-provider isolated notification workers.

  • Root Cause Analysis for Render's Extended Service Disruption on 3/26/24

    Render mediumAdept

    A faulty control-plane code change on March 26, 2024 restarted every customer and system workload on Render; a feature-flag bug had kept it from running in staging, and test infrastructure differed between environments. Stateless services and static sites recovered within about 15 minutes. Hundreds of thousands of services with attached disks (managed PostgreSQL, Redis, persistent disks) had to be detached and reattached across hosts at once, which hit internal and cloud-provider rate limits and delayed full recovery to 20:00 UTC. Fixes include higher rate limits, batched disk operations for roughly 10x throughput, least-privilege permissions for control-plane components, consistent test environments and faster, more accurate status-page updates.

  • Incident Report: August 27th, 2024

    Railway mediumAdept

    A routine Terraform pull request adding instances of Railway's new edge proxy caused all live proxy machines to be recreated at once, timing out roughly 30% of traffic (HTTP and public TCP) for about 30 minutes, with full recovery after about 60. The root cause was a stale config. An engineer had resized boot disks in the GCP console to work around a Google Terraform Provider issue, but the matching PR was still unmerged, so the IaC vendor applied the old disk sizes and forced replacement. Two safeguards failed: the vendor's PR comment showed "0 to destroy" while the actual plan destroyed 17 resources, and deletion protection was missing on the new proxy because it was dropped during promotion from staging. Fixes include deletion protection by default in production Terraform policies, removing destroy permissions from the Terraform coordinator boxes in favor of privileged escalation, extra alerting, and pre-baked machine images so proxies don't need just-in-time bootstrapping.

The quest for software engineering knowledge.

Look:
Layout: