Incoming request routing with RAILWAY_DEPLOYMENT_OVERLAP_SECONDS
kevinclin
PROOP

2 years ago

I see that the description of this env variable is
How long the old deploy will overlap with the newest one being deployed, its default value is 20. Example: 0

Let's say that I have this set to 120. During those 120 seconds of overlap, do requests go to the new or old instance at say, the 60 second mark? I did some searching around and see that there may be a 15 second delay due to dns/http proxy switching, but wasn't able to find a definitive answer.

0 Replies

kevinclin
PROOP

2 years ago

N/A


brody
EMPLOYEE

2 years ago

From what i can tell, requests will go to the old deployment until the overlap period is over, but do some tests to make sure this is totally accurate


kevinclin
PROOP

2 years ago

gotcha, ty!


Loading...