Buggy deployment since migration to EU West
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
![No description](https://cdn.answeroverflow.com/1212533972895014923/image.png)
19 Replies
Project ID:
946c760b-c58f-4c9a-98b8-b3fe1d360c6c
946c760b-c58f-4c9a-98b8-b3fe1d360c6c
Any hint? Or should we move back our production to US servers? We won't be able to handle tomorrow load with those latencies.
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
are you also getting no logs from postgres?
I do get logs from postgres
is postgres itself slow?
No, seems ok
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
and what are those numbers when in us?
https://heatpump-backend-staging.up.railway.app/ping/ 30 to 40ms
(staging is hosted on US)
I'll try to get back to US for now
are you located in EU?
yes, created the service when EU servers were not available and we were trying to migrate to reduce latency
is your service back in US now?