Home / Companies / Railway / Blog / Post Details
Content Deep Dive

How We Oops-Proofed Infrastructure Deletion on Railway

Blog post from Railway

Post Details
Company
Date Published
Author
Mahmoud Abdelwahab
Word Count
1,914
Company Posts That Month
4
Language
-
Hacker News Points
-
Post removed?
No
Summary

Railway offers a 48-hour grace period for undoing deletions of production resources, reducing the risk of accidental data loss during infrastructure management, particularly when using tools like Terraform or Kubernetes. This feature is implemented using Temporal, a workflow engine that supports reliable and stateful processes, allowing for the safe management of infrastructure changes. Temporal's Workflows, Activities, and Signals enable complex operations, such as delaying volume deletions and handling potential failures with automatic retries. The system's architecture involves multiple stages, including authorization checks, patch commitment, and a delayed deletion workflow, all coordinated through Temporal to ensure deletions are safe, observable, and consistent across layers. Once the grace period ends, a comprehensive cleanup process removes the resources physically and from the database, ensuring no residual elements remain. By introducing this safeguard, Railway aims to provide developers with a more forgiving infrastructure environment, minimizing the stress and potential disaster of accidental deletions.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 1 986 177 85 -38%
Observability 1 1,883 347 119 -9%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.