-
Notifications
You must be signed in to change notification settings - Fork 270
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
use vmsplice(2) to read/write multiple requests at a time #35
Comments
Oh, wow. After all this time, I come to the realization that there was no such thing as length-prefixed multiple requests in one memory area. I wonder where I even got that idea? Maybe from reading l-k back in the day and seeing a patch that never got accepted. Dang.
Right now a pretty simple lots of small requests benchmark says one request roundtrip takes half a millisecond and allocates <4kB (profiling blames
If you have benchmarks you care about, please try to share them! Feel free to create separate issues for that, to avoid drowning this one in those. |
A more flattering, and relevant, benchmark:
This avoids the |
Yup, vmsplice can't do what was thought of here. io_uring could do something similar, but that depends on so much Go infrastructure that it's not really up to us. |
depends: #33The text was updated successfully, but these errors were encountered: