2 years ago
Hello,
I just migrated our backend service (Django) + pg database to EU West.
The service is up, but:
it's slow compared to the staging service (that is hosted on US servers). The service is correctly setup and is using the private database address.
there is no deploy logs (cf screenshot)
Thanks for the help
22 Replies
Any hint? Or should we move back our production to US servers? We won't be able to handle tomorrow load with those latencies.
2 years ago
have you tried a simple redeploy?
Yes, restart/redeploy/re-build image, does not work, I don't even see the echo from my docker entrypoint
2 years ago
are you also getting no logs from postgres?
2 years ago
is postgres itself slow?
2 years ago
okay and can you define slow in this case?
https://heatpump-backend-production.up.railway.app/ping/ sometimes takes 40ms of runtime (X-Runtime header) sometimes 200ms. It does nothing but a query to the db. And other endpoints behave similarly
2 years ago
and what are those numbers when in us?
2 years ago
are you located in EU?
yes, created the service when EU servers were not available and we were trying to migrate to reduce latency
2 years ago
is your service back in US now?
Back in Oregon, logs are working fine again and steady 30ms runtime on /ping.
2 years ago
can you try to deploy a minimal reproducible example to EU?
Will do before attempting to migrate again, but another day, it's getting late here.
Thanks for the help !
2 years ago
no prob