broker
CrolangP2P Broker used as well-known intermediary for P2P connection negotiation among Nodes
362
The CrolangP2P Project aims to provide a stable, robust, and exceptionally simple framework for establishing cross-language peer-to-peer (P2P) connections between clients facilitating seamless data exchange.
The clients are known as Crolang Nodes and are implemented in various programming languages, but the logic is agnostic to the language used, meaning that a client does not care about the language of the other client. Nodes just create a P2P connection referencing the ID of the other Node they want to connect to and start exchanging messages.
The project's core focus is on simplicity, offering a framework that minimizes the need for additional expertise and streamlines the P2P connection process. With a minimal setup time of just a few minutes, developers can concentrate on what truly matters: implementing their desired P2P logic.
Additionally, if a direct P2P connection is not possible or not desired, the Broker also allows nodes to exchange messages via WebSocket, using the Broker as a relay.
To initiate connections, Crolang Nodes rely on a well-known intermediary: the Crolang Broker. This scalable architecture, composed of one or more Broker instances, operates transparently to the nodes. Once a P2P connection is established between two peers, data is exchanged directly among said peers, bypassing the Broker.
The P2P connection is possible by using the WebRTC technology.
Check the CrolangP2P GitHub organization repository for more details.
Content type
Image
Digest
sha256:6b70dd8ce…
Size
58.9 MB
Last updated
11 months ago
docker pull crolangp2p/broker:1.0.0