-
Notifications
You must be signed in to change notification settings - Fork 948
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
deps(yamux): update yamux to v0.12
#3013
Conversation
The inter-op tests fail because we are patching All local tests are green though which is exciting 😊 |
Cross referencing libp2p/rust-yamux#142 (comment) here for visibility. |
v0.11.0
The last commit is required so that our test suite actually runs. |
Since I won’t be able to do a full review of the underlying changes: is my assumption correct that the new version shall be 100% network compatible with the current version? |
Yes, should be 100% network compatible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes (excluding dependency override) look good to me.
Thank you for debugging this across implementations!
@mxinden can you give libp2p/rust-yamux#153 another review? |
Blocked on libp2p/rust-yamux#166. |
Done. Approved. |
v0.11.1
v0.12
Something is not quite right, still. For some reason, the kademlia test It seems like some of the events now happen in a different order. Interestingly, we already seem to be receiving events for kademlia before event emitting the |
@thomaseizinger do you have time this or next week to look into the above |
I'll have a look. |
@mxinden I adapted the tests so they are passing now. I ended up being as simple as removing two events from the match that are now (consistently) emitted earlier and thus "swallowed" by the This is ready for review / merge now! |
Benchmark performance impact of rust-yamux v0.12 upgrade on rust-libp2p, more specifically libp2p/rust-libp2p#3013.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me. Unless the performance benchmarks (see link above) show any regressions, this is good to merge from my end.
Can't see a regression but also unfortunately no improvement in performance: https://observablehq.com/@libp2p-workspace/performance-dashboard?branch=perf-rust-libp2p-yamux-v0.12#branch I am guessing we are just severely limited by the initial receive window. |
Co-authored-by: Max Inden <mail@max-inden.de>
With the above results, I am merging here! |
Pull-Request: libp2p#3013.
I am operating under the same assumption. |
Description
Notes
As discussed in libp2p/rust-yamux#142 (comment), I would suggest to release this as an alpha and then ask our users to depend on that alpha directly instead of usinglibp2p::yamux
so we can get some feedback on how this implementation performs in the wild.I think we should probably hold off on merging this but keep this PR to discuss any feedback that we might get. Perhaps the changelog entry should be merged to ensure that one is correct.Thoughts?Open Questions
Change checklist
I have added tests that prove my fix is effective or that my feature works