Wednesday, May 31, 2023

Great news everyone! Azure Cosmos DB Serverless can scale up to 1TB now.



     Azure Cosmos DB's Serverless option is a great way to save money if your application expects intermittent and unpredictable traffic with long idle times. I use serverless in developing, prototyping, and integrating with computing services such as Azure Functions.

     The limitation of Azure Cosmos DB serverless was a show-stopper if your solution needed scalability or a large storage. Cosmos DB announced that many of the limitations of the serverless option of Azure Cosmos DB are lifted in Build 2023.

     The biggest change is the storage which triggers many other changes. 50 GB was the storage limit of the serverless. As you might know, 50 GB of storage is the limit of a physical partition of Azure Cosmos DB. That means we could not have more than 1 physical partition before. Serverless was not a good option if you needed a scalable database. Thanks to the new changes, the limit of 50 storage is changed to 1 TB.

     This means you can have up to 20 physical partitions in serverless Azure Cosmos DB now. This is a pretty big change and it will open many new doors to the serverless Cosmos DB. The highest Request Unit limit is still 5000 Request Units per second. As you might know, your available throughput starts to get divided by the number of physical partitions you have. This applies to serverless Cosmos DB now too.

The following screenshot displays how the request unit changes when the storage grows.



No comments:

Post a Comment