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

How does muxado compare with yamux? #13

Closed
ginkoob opened this issue Aug 23, 2015 · 3 comments
Closed

How does muxado compare with yamux? #13

ginkoob opened this issue Aug 23, 2015 · 3 comments

Comments

@ginkoob
Copy link

ginkoob commented Aug 23, 2015

In search for a TCP multiplexer I've found yamux which has many similarities with muxado so I'm wondering how they compare.

http://godoc.org/github.com/hashicorp/yamux

@jbenet
Copy link

jbenet commented Aug 23, 2015

@ginkoob -- for IPFS:

  • we used muxado (v1) , found some bugs then
  • switched to docker/spdystream, found bugs, fixed some, then
  • switched to hashicorp/yamux, so far so good,
  • want to switch to using muxado2 at some point. muxado2 is apparently faster.

Also, take a look at this module: https://github.com/jbenet/go-stream-muxer/ -- wrap them!

We could also use this module to get common benchmarks

@jbenet
Copy link

jbenet commented Aug 23, 2015

Also, @inconshreveable and i have discussed stream muxing a lot in #ipfs on freenode. logs here: botbot.me/freenode/ipfs/ -- and eventually i want something like jbenet/random-ideas#34

@ginkoob
Copy link
Author

ginkoob commented Aug 24, 2015

Thanks for reaching @jbenet! I ended up with yamux too. A muxer interface would be great in the stdlib (net/muxer ?). Did you consider to make a such proposal?

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