SpringBootApp Response Times slower on Railway than heroku

Hello, I'm migrating my application from heroku to railway, but I noticed that the response times are much higher. Is there anything I can do? I'm on the developer plan and I really like the platform, but with these response times I'm considering not staying. In the image below, you can see the difference. Heroku on the left and Railway on the right, both connecting to the same database (in aws).
12 Replies
Percy
Percy2y ago
Project ID: 8b77d79d-f232-4869-847b-fa187ad8dda9
IsraelRodrigues
8b77d79d-f232-4869-847b-fa187ad8dda9
Brody
Brody2y ago
railway only has a single region at the moment: us-west1 if you or your database are far away from us-west1 you will see increased latency
IsraelRodrigues
I'm going to redo the tests with a database hosted here to see if I notice any difference
Brody
Brody2y ago
sounds good
IsraelRodrigues
today my database is in us-east-2 (ohio)
Brody
Brody2y ago
are you us-east?
IsraelRodrigues
I`m in Brazil
Brody
Brody2y ago
thats a litte far not 1s far though
IsraelRodrigues
Thanks for the tip @Brody , I migrated my database and the times are much better, in some cases even better than heroku. I'll leave again the image of the new test for comparison and help future devs
Brody
Brody2y ago
awsome, glad i could help! and welcome to railway!
Want results from more Discord servers?
Add your server