corp: support batch coprocessor for tikv to reduce task and RPC numbers
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
Currently, in some web3 index lookup queries, the fanout issue may introduce latency and cost problems. Batching is a common way to reduce task and RPC numbers, and thus possibly reduce latency, cost, and parameter tuning work.
[RFC](https://github.com/pingcap/tidb/pull/39362)
- [x] The proto change https://github.com/pingcap/kvproto/pull/1018
- [x] The coprocessor client change https://github.com/pingcap/tidb/pull/39525
- [x] The `IndexLookupExecutor` related change https://github.com/pingcap/tidb/pull/39525
- [x] The tikv related change https://github.com/tikv/tikv/pull/13850
Contributor guide
Assessment
This issue has not been assessed yet.