All requests to my deployment have a constant ~12s TTFB delay
batakkorea
HOBBYOP

17 days 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: MISS on every request

Looks like a Fastly origin pull / routing config issue specific to this deployment. Please investigate.

Solved

6 Replies

Status changed to Awaiting Railway Response Railway 17 days ago


ahmadijmail
PRO

17 days ago

Same here!


rvb-sleek
PRO

17 days 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...


mercuxio
PRO

17 days ago

Some of my environment, when I get onto VPN, it got better. It's sporadic.


bsoundar
HOBBY

17 days ago

It has been impacting for hours now !


pc0620022002
HOBBY

17 days ago

Same


16 days 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 16 days ago


Railway
BOT

9 days 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 9 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...