Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt the coalescing writer for clients #1539

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Dec 22, 2022

Motivation:

In #1357 we introduced a message frames which coalesces writes into a single buffer in a write-flush cycle to reduce the number of emitted DATA frames. This PR adopts those changes for the client.

Modifications:

  • Adjust the client state machine to use the coalescing writer

Results:

Small messages are coalesced in a flush cycle within a stream.

Motivation:

In grpc#1357 we introduced a message frames which coalesces writes into a
single buffer in a write-flush cycle to reduce the number of emitted
DATA frames. This PR adopts those changes for the client.

Modifications:

- Adjust the client state machine to use the coalescing writer

Results:

Small messages are coalesced in a flush cycle within a stream.
@glbrntt glbrntt requested a review from FranzBusch December 22, 2022 09:44
@glbrntt glbrntt requested review from Lukasa and removed request for FranzBusch January 3, 2023 17:55
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jan 4, 2023
@Lukasa Lukasa enabled auto-merge (squash) January 4, 2023 12:55
@Lukasa Lukasa merged commit 254ea13 into grpc:main Jan 4, 2023
@glbrntt glbrntt deleted the gb-adopt-coalescing-writer-client branch January 4, 2023 15:09
glbrntt added a commit to glbrntt/grpc-swift that referenced this pull request Jan 5, 2023
Motivation:

We added a coalescing message framer in grpc#1539 and grpc#1546. The old framer
is no longer used.

Modification:

- Remote the now unused message writer and tests

Result:

Less unused code.
@glbrntt glbrntt mentioned this pull request Jan 5, 2023
glbrntt added a commit that referenced this pull request Jan 5, 2023
Motivation:

We added a coalescing message framer in #1539 and #1546. The old framer
is no longer used.

Modification:

- Remote the now unused message writer and tests

Result:

Less unused code.
WendellXY pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
Motivation:

In grpc#1357 we introduced a message frames which coalesces writes into a
single buffer in a write-flush cycle to reduce the number of emitted
DATA frames. This PR adopts those changes for the client.

Modifications:

- Adjust the client state machine to use the coalescing writer

Results:

Small messages are coalesced in a flush cycle within a stream.

Co-authored-by: Cory Benfield <lukasa@apple.com>
WendellXY pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
Motivation:

We added a coalescing message framer in grpc#1539 and grpc#1546. The old framer
is no longer used.

Modification:

- Remote the now unused message writer and tests

Result:

Less unused code.
pinlin168 pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
Motivation:

In grpc#1357 we introduced a message frames which coalesces writes into a
single buffer in a write-flush cycle to reduce the number of emitted
DATA frames. This PR adopts those changes for the client.

Modifications:

- Adjust the client state machine to use the coalescing writer

Results:

Small messages are coalesced in a flush cycle within a stream.

Co-authored-by: Cory Benfield <lukasa@apple.com>
pinlin168 pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
Motivation:

We added a coalescing message framer in grpc#1539 and grpc#1546. The old framer
is no longer used.

Modification:

- Remote the now unused message writer and tests

Result:

Less unused code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants