Scaling serverless applications

When you are using serverless services (such as Azure Functions, Azure Cosmos DB, or Azure Event Grid) you have limited options when it comes to configuring the feature. For example:

  • In Azure Functions, you rely on the pricing model (consumption plan vs App Service Plan)
  • In Azure Cosmos DB you modify the number of RUs
  • In Azure Event Grid you have no way to define how the service will scale

This is all caused by the fact that you do not control the application host—the underlying service engine is completely detached from your application and there is no possibility to directly modify it. What you can do is to control it indirectly, either by changing the number of processing units or via available configuration ...

Get Hands-On Azure for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.