Skip to main content

Server-to-Peer

The HydroRTC library is composed on two main interaction mechanisms: server-to-peer and peer-to-peer connections. Both rely on the connection to a server to manipulate and handle information, however, it is meant to deliver a seamless interaction for the client.

Connection to a Server

A server connection is established upon running the node application and allows the peer to connect to the available datasets within the server. Upon request, this information is relayed based on the file types, the availability on the data connection, as well as the connectivity between two or multiple peers.

Architecture

The server keeps track of all the clients connected, and relies data back to the users based on the data request. Depending on the physical capabilities where the application is being deployed, the server can handle many requests simultaneously while still working with the handling mechanisms.

func

Tip

This is similar as how the content of this page is being accessed by you right now!