Skip to content

[Cosmos] Client-side throughput control #4089

@tvaron3

Description

@tvaron3

Summary

Add client-side throughput control to the Cosmos Rust SDK, complementing the server-side features (priority-based execution and throughput buckets) shipped in #4078.

Scope

Re-introduce the ClientSide variant to ThroughputControlGroupOptions (removed in #4078 for GA, enum is #[non_exhaustive]):

  • ThroughputTarget enum — Absolute(u32) for fixed RU/s limits, Threshold(f64) for percentage of provisioned throughput
  • Client-side rate limiter — SDK-enforced request rate limiting before sending to the service
  • Optional priority level — combine with client-side throttling for local prioritization

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.CosmosThe azure_cosmos crate

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions