Skip to content

Conversation

@chaoyli
Copy link
Contributor

@chaoyli chaoyli commented Aug 3, 2020

BRPC send packet should serialize it first and then send it.
If we send one batch with big size, it will encounter a connection failed.
So we can use attachment strategy to bypass the problem and eliminate
the serialization cost.

@chaoyli chaoyli self-assigned this Aug 3, 2020
@chaoyli chaoyli added the kind/fix Categorizes issue or PR as related to a bug. label Aug 3, 2020
@chaoyli chaoyli linked an issue Aug 3, 2020 that may be closed by this pull request
BRPC send packet should serialize it first and then send it.
If we send one batch with big size, it will encounter a connection failed.
So we can use attachment strategy to bypass the problem and eliminate
the serialization cost.
Copy link
Contributor

@imay imay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imay imay added the approved Indicates a PR has been approved by one committer. label Aug 4, 2020
@chaoyli chaoyli merged commit 120f30b into apache:master Aug 5, 2020
morningman pushed a commit to morningman/doris that referenced this pull request Aug 6, 2020
morningman pushed a commit to morningman/doris that referenced this pull request Aug 6, 2020
chaoyli pushed a commit that referenced this pull request Aug 6, 2020
morningman pushed a commit that referenced this pull request Aug 6, 2020
@morningman morningman mentioned this pull request Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. kind/fix Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Big packet will send failed on BRPC

2 participants