pingcap / pingcap/tidb

Optimize resource control in client-go

Open
#60,306 2 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
The resource control introduces significant overhead, according to the mutex profile and CPU profile of workloads like point-select. We need to optimize the implementation, e.g. decreasing the lock granularity.

![Image](https://github.com/user-attachments/assets/d49e6247-5ed1-4a25-8b27-17e67ffc9c78)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.