Build and Deploy takes too long
giobones12
HOBBYOP

3 months ago

I have a project with two environments: test and prod-serio.

The test environment takes about one minute to complete a full deployment, while prod-serio takes around five to six minutes, even though they are essentially the same.

I would like to know what I can do to reduce the prod-serio deployment time to approximately one minute as well.

$10 Bounty

1 Replies

Status changed to Awaiting User Response Railway 3 months ago


dardameiz
PRO

3 months ago

hey! few things to check - are both deploying from same repo/branch? same build commands?

look at the deployment logs for both and see which step is actually slower in prod-serio. usually it’s either build cache differences (test might be using cache better), different build configs, or if prod runs longer migrations.

easiest way to debug is compare the logs side by side and see where the time difference is. can you share what step is taking longer?


Loading...