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

support vectored IO #1502

Merged
merged 2 commits into from
Nov 13, 2023
Merged

support vectored IO #1502

merged 2 commits into from
Nov 13, 2023

Conversation

xiaoyawei
Copy link
Contributor

Motivation

Neither BoxedIo nor ServerIo have vectored I/O parts implemented; this make the usages of tonic lose the opportunity to use vectored I/O to optimize performance.

Solution

Implement the vectored I/O part by delegating to the underlying Io trait object.

@LucioFranco
Copy link
Member

I think you need to rebase against master since there are some changes (and force push). This seems like a good thing to implement!

@xiaoyawei
Copy link
Contributor Author

@LucioFranco just update the branch, PTAL

@xiaoyawei
Copy link
Contributor Author

hi @LucioFranco when you have time would you mind taking another look at this PR? thanks!

@xiaoyawei
Copy link
Contributor Author

hi @LucioFranco would you take another look at this PR when you have time? Thanks in advance!

@xiaoyawei
Copy link
Contributor Author

hi @LucioFranco when you have time, would you please take another look at this? This PR shall help improve throughput especially for streaming RPCs, since most of the OS now supports vectored I/O

@LucioFranco LucioFranco added this pull request to the merge queue Nov 13, 2023
Merged via the queue into hyperium:master with commit ff71e89 Nov 13, 2023
15 of 16 checks passed
@xiaoyawei xiaoyawei deleted the vectored_io branch November 14, 2023 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants