2 months ago
Subject: All requests to my deployment have a constant ~12s TTFB delay
Project: beck-sinode / Service: sijemaat-system URL: https://sijemaat-system-production-6acf.up.railway.app Region: asia-southeast1-eqsg3a (Singapore) Plan: Hobby
Symptom: Every request to my deployment takes a constant ~12 seconds TTFB, regardless of:
- Path (including 404 paths and /api/v1/health)
- Method (GET, POST, OPTIONS, HEAD)
- HTTP version
- Connection: keep-alive vs close
- Rapid repeated requests (no warmup effect)
What's NOT the cause (already ruled out):
- Cold start — second/third sequential request is also 12s
- App code — Railway's own HTTP Logs show container responds in ~470ms
- DB — even 404 paths that don't touch DB take 12s
- Region — was US East, changed to Singapore, no improvement
- Manual Redeploy — no improvement
- Server bind (0.0.0.0) — no improvement
- Container resources — CPU is ~0%, Memory ~100MB (not saturated)
- User location — measured from Indonesia and from US, both ~12s
Data points:
- Browser DevTools Network tab Timing: "Waiting for server response" = 12.07s
- Container internal handling time per Railway HTTP Logs: ~470ms
- Gap of ~11.6s is between Railway edge and container
- Response headers show
x-railway-cdn-edge: fastly/cache-sin-wsat1880044-SIN,x-cache: MISSon every request
Looks like a Fastly origin pull / routing config issue specific to this deployment. Please investigate.
6 Replies
Status changed to Awaiting Railway Response Railway • 2 months ago
2 months ago
Same here!
2 months ago
Same, though weirdly not on all of my environments. Some of them are very fast.
Even just /api/health 12s delay. Seems like performance degradation isn't covered on the status page...
2 months ago
Some of my environment, when I get onto VPN, it got better. It's sporadic.
2 months ago
It has been impacting for hours now !
2 months ago
Same
2 months ago
This has now been resolved.
The latency was caused by an issue with our CDN provider Fastly, specifically affecting their KV store in the Asia region. Their incident report: https://www.fastlystatus.com/incident/378503
Apologies for the disruption.
Status changed to Awaiting User Response Railway • 2 months ago
2 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 2 months ago