提交 c79245a4 作者: Steven Allen

doc: mplex is now stabl

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 fc1832f9
......@@ -104,13 +104,12 @@ bandwidth than the others, but is lacking on congestion control and backpressure
logic. It is available to try out and experiment with.
### State
Experimental
Stable
### In Version
0.4.5
### How to enable
run your daemon with `--enable-mplex-experiment`
To make it the default stream muxer, set the environment variable
`LIBP2P_MUX_PREFS` as follows:
......@@ -118,37 +117,6 @@ To make it the default stream muxer, set the environment variable
export LIBP2P_MUX_PREFS="/mplex/6.7.0 /yamux/1.0.0 /spdy/3.1.0"
```
To check which stream muxer is being used between any two given peers, check the
json output of the `ipfs swarm peers` command, you'll see something like this:
```
$ ipfs swarm peers -v --enc=json | jq .
{
"Peers": [
{
"Addr": "/ip4/104.131.131.82/tcp/4001",
"Peer": "QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ",
"Latency": "46.032624ms",
"Muxer": "*peerstream_multiplex.conn",
"Streams": [
{
"Protocol": "/ipfs/bitswap/1.1.0"
},
{
"Protocol": "/ipfs/kad/1.0.0"
},
{
"Protocol": "/ipfs/kad/1.0.0"
}
]
},
{
...
```
### Road to being a real feature
- [ ] Significant real world testing and performance metrics across a wide
variety of workloads showing that it works well.
---
## Raw Leaves for unixfs files
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论