Skip to content

Should ARR Affinity be turned ON for Azure Durable functions ? #1768

Answered by cgillum
prabhakarreddy1234 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the question. Turning ARR affinity on is not necessary. ARR affinity is only helpful for HTTP scenarios, where state is managed on specific VMs and the front-end load balancer needs hints about which VM to direct HTTP requests to.

In the case of Durable Functions, all messages are sent via queues, so HTTP, front-ends, and affinity cookies are not involved at all. Instead, the Durable Functions uses it's own internal mechanism involving blob leases and multiple control queues to ensure that all messages get routed to the correct worker VMs. You can find more information about our stateful partitioning strategy here: https://docs.microsoft.com/en-us/azure/azure-functions/durable-…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ConnorMcMahon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #500 on April 01, 2021 19:42.