Resource control is not ideal when the request load from different resource group is unbalanced
Open
component/resource-control
type/enhancement
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 783
- Avg merge
- 5d 21h
- Merged PRs (30d)
- 36
Description
## Enhancement Task
Consider the case that there are 3 stores, and the request load from one resource group is a hotspot workload. Then all requests from the resource group are handled on one store whereas the requests from the other resource group are distributed evenly on all stores.
As resource control on TiKV only has the local resource consumption, the local QPS ratio may meet the ratio of resource quota of different resource groups but the overall QPS ratio may not meet with skew load. To solve that, the request to one store needs to carry the resource consumption on other stores to make the overall consumption considered.
Contributor guide
Assessment
This issue has not been assessed yet.