WebRtc Maximum Connections, only using data channels

My question is if I plan to use WebRTC with a p2p architecture but only using its custom data channel to send constant small text messages. ¿What is the maximum number of peer connections that a peer can support? (I know this its heavily going to depend on the device, network... of each peer, but could somebody give me a ballpark estimate).

Edit: By constant text messages i mean around 30 / sec

Upvotes: 1

Views: 396

Answers (1)

Artem Suprunov
Artem Suprunov

Reputation: 343

One of limitations might be maximum amount of available ports in the device's OS. For example, Ubuntu has about 65k available ports. So, supposing that you have enough memory, CPU and network bandwith, and 1 port for 1 data channel then you have ~65k connections.

Upvotes: 1

Related Questions