R
Railway2y ago
turck

Gateway timeout errors during heavy traffic

Hello we are having some traffic spikes and getting periodic gateway timeout errors
12 Replies
Percy
Percy2y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Percy
Percy2y ago
No project ID was provided. Closing thread.
Brody
Brody2y ago
what kind of app?
turck
turckOP2y ago
LLM Chat app, uses streaming as well
Brody
Brody2y ago
flask?
turck
turckOP2y ago
next.js we got a heavy spike in traffic, metrics were way up from normal in the last few hours. was wondering if it was related to autoscaling
Brody
Brody2y ago
railway only scales vertically the gateway timeout wouldn't be railways fault do you run your service behind a caching cloudflare proxy?
turck
turckOP2y ago
yes we do, so you think its cloudflare rate limiting us? Actually just double checked, this url is not being proxied
Brody
Brody2y ago
well there's your problem next js does have a built in production server, but I'm sure it has its limitations
turck
turckOP2y ago
I am seeing network drops. If it was the applications fault, wouldn't the inbound not drop?
turck
turckOP2y ago
Not trying to point fingers, just want to isolate the issue and resolve @Brody do you know why traffic is dropping
Brody
Brody2y ago
i don’t, sorry, you'll have to do some debugging
Want results from more Discord servers?
Add your server