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

Add experimental Yamux support #6008

Open
zah opened this issue Mar 1, 2024 · 3 comments
Open

Add experimental Yamux support #6008

zah opened this issue Mar 1, 2024 · 3 comments

Comments

@zah
Copy link
Member

zah commented Mar 1, 2024

The latest LibP2P now includes Yamux support. It can be enabled by using the following code when constructing the switch:

  .withYamux(inTimeout, outTimeout)
  .withMplex(inTimeout, outTimeout)

The muxer that gets added first is treated as first choice, the second is a fallback.

We should add a hidden command line option for enabling Yamux and then we should deploy it on a subset of our testnet fleet hosts.

@tersec
Copy link
Contributor

tersec commented Mar 1, 2024

We should add a hidden command line option for enabling Yamux and then we should deploy it on a subset of our testnet fleet hosts.

So long as it's a --debug-foo option so that per https://nimbus.guide/options.html#available-options

Any debug-prefixed flags are considered ephemeral and subject to removal without notice.

@arnetheduck
Copy link
Member

@tersec
Copy link
Contributor

tersec commented Mar 1, 2024

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

No branches or pull requests

3 participants