topsql limiter on the TiDB
Open
sig/sql-infra
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
Now, more and more query flow comes into the TiDB. If TiDB is at high usage, we should prevent tidb from too much flow. I have an idea to implement it. Use the [heavykeeper](https://www.usenix.org/conference/atc18/presentation/gong) to get Top k most used SQLs. if we find a SQL in TopK, we can use BBR to avoid overload.
Contributor guide
Assessment
This issue has not been assessed yet.