Bot response is slow on Railway
iroshenzer
HOBBYOP

8 months ago

Hello Railway Support Team,

I'm using the 8GB RAM plan to host my AI assistant bot on Railway, connected to a Supabase database.

But the response time of the bot is noticeably slow. The code and database are working properly, but the reply takes about 2–3 seconds longer than expected.

Can you please check if there's any performance issue or limitation affecting this delay?

Thank you!

$10 Bounty

1 Replies

8 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody 8 months ago


lllgatesj13
FREE

7 months ago

Hello there! I have experienced this before and some common fixes can include: 1, Region: Make sure your database's region matches or is somewhat near you Railway's service region. 2: Code Sleeping, if left inactive code can sleep, this will cause response times to be slower, simply use a tool like uptimerobot to prevent this. 3: Your code, even though 8GB of ram is plenty in my eyes, you code might not be optimized for it, so simply look through your code to make sure there are not an execcive amount of API calls ect. hope this helped!


Loading...