R
Railway7mo ago
rom5031

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
19 Replies
Percy
Percy7mo ago
Project ID: 946c760b-c58f-4c9a-98b8-b3fe1d360c6c
rom5031
rom50317mo ago
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.
Brody
Brody7mo ago
have you tried a simple redeploy?
rom5031
rom50317mo ago
Yes, restart/redeploy/re-build image, does not work, I don't even see the echo from my docker entrypoint
Brody
Brody7mo ago
are you also getting no logs from postgres?
rom5031
rom50317mo ago
I do get logs from postgres
Brody
Brody7mo ago
is postgres itself slow?
rom5031
rom50317mo ago
No, seems ok
Brody
Brody7mo ago
okay and can you define slow in this case?
rom5031
rom50317mo ago
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
Brody
Brody7mo ago
and what are those numbers when in us?
rom5031
rom50317mo ago
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
Brody
Brody7mo ago
are you located in EU?
rom5031
rom50317mo ago
yes, created the service when EU servers were not available and we were trying to migrate to reduce latency
Brody
Brody7mo ago
is your service back in US now?
Want results from more Discord servers?
Add your server