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

Specify Throughput for a Cosmos Container or Database #20983

Closed
Thorstensen opened this issue May 18, 2020 · 4 comments
Closed

Specify Throughput for a Cosmos Container or Database #20983

Thorstensen opened this issue May 18, 2020 · 4 comments

Comments

@Thorstensen
Copy link

When using Entity Framework Core with the UseCosmos options, I would like to be able to specify on what level the throughput should be configured. In our current solution, we have a database with several containers. By default, Entity Framework specifies the Throughput(RU/s) on the container during creation of the database.

I would like an option to specify on what level to configure the throughput(RU/s) on. For instance when using the Action in UseCosmos:

Example 1:

optionsBuilder.UseCosmos(_instanceUrl,  _primaryKey,  _databaseName, options =>
{
    options.ThroughputOn(typeOfThroughput: Level.Database, amount:1000);
});

Example 2:

optionsBuilder.UseCosmos(_instanceUrl,  _primaryKey,  _databaseName, options =>
{
    options.ThroughputOn(typeOfThroughput: Level.Containers, amount:400);
});
@Marusyk
Copy link
Member

Marusyk commented Aug 3, 2020

+1 it would be a nice feature. Let's make it up-for-grabs

@AndriySvyryd
Copy link
Member

Duplicate of #17301

@AndriySvyryd AndriySvyryd marked this as a duplicate of #17301 Nov 26, 2020
@smitpatel smitpatel removed this from the Backlog milestone Dec 14, 2020
@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
@ciacco85

This comment was marked as resolved.

@roji

This comment was marked as resolved.

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

No branches or pull requests

7 participants