You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.
Currently the rendezvous server is a bandwidth bottleneck by design -- all peer connections go through it, and we unfortunately can't add more instances without making the server capable of federating with other servers, at which point we'd be rebuilding parts of libp2p, outside of libp2p.
We can get the same functionality without the server-relay component, where p2p-websocket-star would do only discovery (and for backwards compatibility, the transport would transparently use a relay.)
Imagine a very simple scenario with three browser nodes QmA, QmB, QmC, and one relay node QmRelay. To each new browser node, the rendezvous server emits addresses of already present nodes:
We should already be capable of exactly this ^ right? @dryajov
For backwards compatibility, the /p2p-websocket-star transport would transparently make use of the /wss and /p2p-circuit transports. It'd basically transform a currently used address like /dns4/ws-star.discovery.libp2p.io/tcp/443/wss/ipfs/QmA to another as shown above.
The text was updated successfully, but these errors were encountered:
Currently the rendezvous server is a bandwidth bottleneck by design -- all peer connections go through it, and we unfortunately can't add more instances without making the server capable of federating with other servers, at which point we'd be rebuilding parts of libp2p, outside of libp2p.
We can get the same functionality without the server-relay component, where p2p-websocket-star would do only discovery (and for backwards compatibility, the transport would transparently use a relay.)
Imagine a very simple scenario with three browser nodes
QmA
,QmB
,QmC
, and one relay nodeQmRelay
. To each new browser node, the rendezvous server emits addresses of already present nodes:/dns4/relay.libp2p.io/tcp/443/wss/ipfs/QmRelay/p2p-circuit/ipfs/QmA
/dns4/relay.libp2p.io/tcp/443/wss/ipfs/QmRelay/p2p-circuit/ipfs/QmB
/dns4/relay.libp2p.io/tcp/443/wss/ipfs/QmRelay/p2p-circuit/ipfs/QmC
We should already be capable of exactly this ^ right? @dryajov
For backwards compatibility, the
/p2p-websocket-star
transport would transparently make use of the/wss
and/p2p-circuit
transports. It'd basically transform a currently used address like/dns4/ws-star.discovery.libp2p.io/tcp/443/wss/ipfs/QmA
to another as shown above.The text was updated successfully, but these errors were encountered: