Info
Version: | 1.0.0 |
Author(s): | Giorgi Tediashvili |
Last Update: | Friday, December 14, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/giorgited/CosmosScale |
NuGet Url: | https://www.nuget.org/packages/CosmosAutoScaler |
Install
Install-Package CosmosAutoScaler
dotnet add package CosmosAutoScaler
paket add CosmosAutoScaler
CosmosAutoScaler Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.Azure.CosmosDB.BulkExecutor(>= 2.0.02)
- Microsoft.Azure.DocumentDB.Core(>= 2.1.3)
Tags
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.