isolated means your app is hosted in a dedicated process. As the HttpClient factory is a static, the static will be used for the life of the process. The point of azure functions is that hosting process are spun up and released depending on load. Unless the second request is reusing the http stream (http keepalive just a couple seconds) a second request is not likely to be to the same process.
How http client factory works in isolated Azure functions between executions?
Vyacheslav Orlov
20
Reputation points
Wondering how http client factory is shared between isolated function executions. Is http client factory shared between function executions with isolated model?
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
Developer technologies C#
11,568 questions
Accepted answer
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2024-12-07T18:21:01.84+00:00