9 months ago
I’m currently on the Pro plan, and both my Medusa app and PostgreSQL database are deployed to the Singapore Metal region.
However, I’m experiencing a significant performance issue:
On local, API requests consistently complete in around 50–150ms.
On Railway, the exact same requests are taking 1–2 seconds, and sometimes even longer.
All API logic, DB queries, and cache mechanisms are identical across both environments.
This performance gap is around 10x, and it is affecting production reliability.
The issue appears to be platform-level latency, as I’ve profiled backend functions using performance.now() and confirmed that logic execution takes <100ms.
GET /store/customers/me are taking 400ms to over 1 second on https logs, which is unreasonable for such a lightweight and direct call.
2 Replies
9 months ago
Hello!
We're acknowledging your issue and attaching a ticket to this thread.
We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.
Please reply to this thread if you have any questions!
9 months ago
Hey there,
I noticed that the project is deleted. I would be happy to look into this issue however, I don't see the project in question.
Thanks,
Angelo
Status changed to Awaiting User Response Railway • 9 months ago
7 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 7 months ago