CosmosAutoScaler provides auto-scale capabilities to increase the performance of the operations while keeping the cost to the minimum. Cosmos autoscale handles the single and bulk operations seperately. During the single operation, CosmosAutoScaler will send requests by keeping the RU minimum until it recieves a 429, in which case it will start incrementing the RU by 500 until either the max RU is reached, operation is succesful or maximum retry of 10 is reached. During the bulk operations, CosmosAutoScaler will scale the collection up to the maximum RU defined by the user to provide the best performance, and scale back down based on the elapsed inactivity time period. Inactivity time that system checks for varies between 10seconds, 1 minute and 3 minutes based on the complexity of the most recent activity.
Project Url
View on NuGet:


Here are the packages that version 1.0.0 of CosmosAutoScaler depends on.

Microsoft.Azure.CosmosDB.BulkExecutor : (2.0.0-preview2) Microsoft.Azure.DocumentDB.Core : (2.1.3)



Installing with NuGet

PM> Install-Package CosmosAutoScaler

Packages that Depend on CosmosAutoScaler

No packages were found that depend on version 1.0.0.