Share via

Azure front door session affinity question

Eddy Lynch 60 Reputation points Microsoft Employee
2026-04-29T09:50:30.16+00:00

I have session affinity enabled on an origin group. I also have latency sensitivity set to 50ms. However, I noticed that users get redirected to different nodes within that latency threshold, after they already went to a different node. This goes against the expected behaviour of session affinity. Why were they not pinned to the same node the whole session? Or does latency sensitivity affect that?.

Azure Front Door
Azure Front Door

An Azure service that provides a cloud content delivery network with threat protection.


Answer accepted by question author

Ravi Varma Mudduluru 12,370 Reputation points Microsoft External Staff Moderator
2026-05-05T08:43:26.3533333+00:00

Hello @ Eddy Lynch,

Thank you for reaching out to Microsoft Q&A.

I checked with the PG team, and they confirmed that if the sensitivity is set to 0, it reduces the eligible origins to only the fastest one. If the fastest origin changes, requests will be routed to a different origin.

In Azure Front Door, session affinity applies only within the latency-selected origin pool. If an origin falls outside the latency sensitivity window, Front Door will select another origin, so session stickiness is not guaranteed under latency-based routing.

Setting the sensitivity to 0 may not help, as it always selects the fastest origin, which can change.
User's image

The above statement is mentioned in the below document. https://learn.microsoft.com/en-us/azure/frontdoor/routing-methods

If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.