Skip to content

admission control: weighted sharing among tenants #77358

@sumeerbhola

Description

@sumeerbhola

For the multi-tenant KV layer, the admission control system gives equal weight to all active tenants.
However, different tenants may have different number of ranges at that node. For better fairness, we could introduce weighted fairness in the KV slot allocation, and weight by the number of replicas the tenant has on that node.

Note that the slot allocation doesn't consider actual resource consumption -- if one tenant has queries with higher contention, it will consume more slots, even though it is not actually consuming resources.

Jira issue: CRDB-13549

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-admission-controlC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions