sammy34
sammy34

Reputation: 5467

Azure App-Service Swap "Bounces" Between Source and Destination

I'm seeing some interesting behavior on Azure App Service that I'm hoping somebody will be kind enough to comment on.

Reproduction steps (all Azure steps can be done in the portal):

What I would expect to see:

What I actually see:

The observed behavior suggests that there is no single point in time at which all traffic can be said to be going to the new version.

The reason this concerns me is the following scenario:

My question: Is this "bouncing" behavior during a swap operation "by design"? If so, what is the recommended approach for solving the pathological case above?

Upvotes: 4

Views: 244

Answers (1)

RuslanY
RuslanY

Reputation: 894

The behavior you've described is currently by design. When we perform the swap we update the mappings between hostnames and the sites in our database but our frontend instances cache those mappings and refresh them every 30 seconds. So the "bouncing" period may last up to 30 seconds.

I do not have at the moment a good recommendation on how to solve the case, but will look into possible ways to address this.

Upvotes: 3

Related Questions