How does muxado compare with yamux?
ginkoob opened this issue · 3 comments
ginkoob commented
In search for a TCP multiplexer I've found yamux which has many similarities with muxado so I'm wondering how they compare.
jbenet commented
@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 commented
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