Migrating Applications to the Cloud with Azure
by Sjoukje Zaal, Amit Malik, Sander Rossel, Jason Marston, Mohamed Waly, Stefano Demiliani
Dynamic scaling
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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access