Reputation: 1451
The scaling documentation for Azure Functions is a bit light on details for how Azure Functions decide when to add more instances of an app.
Say for example I have a function that is triggered by a Github webhook. 10,000 people simultaneously commit to the Github repo (with no merge conflicts ;) ), and Github calls my function 10,000 times in a very short period of time.
What can I expect to happen? Specifically,
Upvotes: 28
Views: 5035
Reputation: 1444
ACTUAL PERFORMANCE -------------- ClientConnected: 13:58:41.589 ClientBeginRequest: 13:58:41.592 GotRequestHeaders: 13:58:41.592 ClientDoneRequest: 13:58:41.592 Determine Gateway: 0ms DNS Lookup: 65ms TCP/IP Connect: 40ms HTTPS Handshake: 114ms ServerConnected: 13:58:41.703 FiddlerBeginRequest: 13:58:41.816 ServerGotRequest: 13:58:41.817 ServerBeginResponse: 14:00:36.790 GotResponseHeaders: 14:00:36.790 ServerDoneResponse: 14:00:36.790 ClientBeginResponse: 14:00:36.790 ClientDoneResponse: 14:00:36.790 Overall Elapsed: **0:01:55.198**
Upvotes: 6
Reputation: 8515
I'm from the Azure Functions team. The things I marked as implementation details aren't promises and will likely also change as we evolve our service; just an attempt at transparency.
Upvotes: 25