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

feat: remove Mplex #10051

Merged
merged 1 commit into from
Aug 15, 2023
Merged

feat: remove Mplex #10051

merged 1 commit into from
Aug 15, 2023

Conversation

Jorropo
Copy link
Contributor

@Jorropo Jorropo commented Aug 4, 2023

Mplex does not implement backpressure, our implementation will randomly reset streams if buffers overflow instead of risking deadlocks.

In the past we had a bug where kubo nodes would prefer mplex over yamux. Turning off mplex make our connections to thoses nodes negociate yamux.

Closes #9958

@Jorropo Jorropo requested a review from a team as a code owner August 4, 2023 15:57
@Jorropo Jorropo changed the title feat: remove MPLEX by default feat: remove Mplex Aug 4, 2023
@Jorropo Jorropo force-pushed the no-more-mplex branch 2 times, most recently from 27bbd03 to 1d20333 Compare August 4, 2023 16:08
core/node/libp2p/smux.go Outdated Show resolved Hide resolved
Mplex does not implement backpressure, our implementation will randomly reset streams if buffers overflow instead of risking deadlocks.

In the past we had a bug where kubo nodes would prefer mplex over yamux. Turning off mplex make our connections to thoses nodes negociate yamux.

Closes ipfs#9958
@Jorropo Jorropo disabled auto-merge August 15, 2023 02:31
@hacdias hacdias merged commit 7220409 into ipfs:master Aug 15, 2023
18 checks passed
@Jorropo
Copy link
Contributor Author

Jorropo commented Aug 15, 2023

Shouldn't have been merged yet, I'm gonna submit a revert + change PR.

@hacdias
Copy link
Member

hacdias commented Aug 15, 2023

@Jorropo that's fine. But please next time mark it as a draft or make it clear that it shouldn't be merged.

@Jorropo
Copy link
Contributor Author

Jorropo commented Aug 15, 2023

Yeah mb

@hacdias hacdias mentioned this pull request Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

turn mplex off by default
3 participants