-
Notifications
You must be signed in to change notification settings - Fork 4.1k
admission control: weighted sharing among tenants #77358
Copy link
Copy link
Closed
Labels
A-admission-controlC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-admission-controlC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)