proxystore.p2p¶
Peer-to-peer communication and relaying.
This module provides two main functionalities: the
PeerManager
and
RelayServer
.
- The
PeerManager
enables easy communication between arbitrary peers even if peers are behind separate NATs. Peer connections are established using aiortc, an asyncio WebRTC implementation. - The
RelayServer
is a commonly accessible server by peers that is used to facilitate WebRTC peer connections.