December 2019
Intermediate to advanced
494 pages
11h 41m
English
One very cool feature of serverless and Azure Functions is that Azure scales servers up and down dynamically. A function can be a piece of code that you can call using an HTTP request. So, when you're calling a function a hundred times in a loop, and each execution takes a couple of seconds, Azure can decide to scale up a couple of servers so that you're not waiting for ages to complete the execution processes.
However, there are some limitations to scaling. You never get more than 200 servers and Azure only scales up one server every 10 seconds at most. One server can still handle more than one execution at a time, though, so if you have 200 servers, you can probably handle some thousands of executions in parallel.