pingcap / pingcap/tidb

corp: support batch coprocessor for tikv to reduce task and RPC numbers

Open
#39,361 5 comments 3 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

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

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.