Skip to content

proxystore.p2p

Peer-to-peer communication and relaying.

This module provides two main functionalities: the PeerManager and relay client/server implementations.

  • 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 proxystore.p2p.relay module provides implementations of the relay server and associated clients that are used by peers to facilitate WebRTC peer connections.