Skip to content

Make coprocessor paging as the default RPC protocol #35633

@tiancaiamao

Description

@tiancaiamao

Feature Request

The background is that when we turn to use chunk encoding in the RPC, the grpc packet size become quite big.
A 96M region may amplify to 900M-1G when using chunk encoding.
And this account for some OOM issues.

So to alleviate the OOM cases, we have to avoid the grpc packet being too big.

One way is to use the coprocessor streaming, and the other way is coprocessor paging.
The streaming has some known issues and is lack of maintance, so it's deprecated #20759.

We have an internal doc about the details. The conclusion is that we'll turn to coprocessor paging and make it the default protocol.

Describe the feature you'd like:

This issue tracks the process of the development/testing.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Done

TODO

IN REVIEW

WIP

Metadata

Metadata

Assignees

Labels

type/feature-requestCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions