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

CosmosDB add option for Autoscale throughput #438

Open
viktorvan opened this issue Oct 30, 2020 · 0 comments
Open

CosmosDB add option for Autoscale throughput #438

viktorvan opened this issue Oct 30, 2020 · 0 comments

Comments

@viktorvan
Copy link
Contributor

First off, I am aware of the issue for serverless throughput #333 but that issue is on hold until the serverless feature leaves preview.

In addition to the manual throughput for CosmosDB there's also the Autoscale option.

The ARM schema looks like this:

"options": {
      "throughput": "integer",
      "autoscaleSettings": {
        "maxThroughput": "integer"
      }
    }

I would propose that we add a Throughput type:

type Throughput =
    | Manual of int<CosmosDb.RU>
    | Autoscale of int<CosmosDb.RU>

I am using this feature now, so I would be happy to have it included in Farmer, and wouldn't mind helping out with the implementation.

This issue may also be related to #337 since autoscale throughput can be set on the database as well as on the container level.

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

No branches or pull requests

1 participant