Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected ScaleDown of RUs #44

Open
afscrome opened this issue Oct 1, 2019 · 0 comments
Open

Unexpected ScaleDown of RUs #44

afscrome opened this issue Oct 1, 2019 · 0 comments
Labels

Comments

@afscrome
Copy link

afscrome commented Oct 1, 2019

Over the weekend we were running a bulk import of 75 million records, we had scaled up cosmos to meet the demand of this but it kept on being scaled down. We worked out that it was scaling down every time our application restarted - or more specifically the cosmos storage engine was initalised.

builder.UseCollection(x => x.CollectionRequestUnits = 500);
builder.UseDatabase(x => x.DatabaseRequestUnits = 500);

From experience with the cosmos SDK, I'd have only expected these values to be used at provisioning time. If the desire is to have these values used every time, then I'd expect that the value should only be used to scale up cosmos, rather than scale down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants