Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage limits #17

Open
fehmi opened this issue Sep 30, 2020 · 2 comments
Open

Usage limits #17

fehmi opened this issue Sep 30, 2020 · 2 comments

Comments

@fehmi
Copy link

fehmi commented Sep 30, 2020

I know this can be silly but I am curious about can we connect same chat room with 15.000 users?

@therealadityashankar
Copy link
Contributor

therealadityashankar commented Sep 30, 2020

nope, no browser would support that many webrtc connections, the max (I believe) is around 256 and even that is a really bad idea, what you'd have to do is create a circular connection so that every client is connected to 2 other clients and they pass messages in a circle

image

and they pass the messages to each other,

also, note, you'd have to figure out a way to prevent man-in-the-middle attacks, because if I'm passing the message to someone else, I can also modify the message, you mostly will do this via public-private authentication, and its tough to implement (and also a nightmare)

Its a really tough thing to create, but if you can, that'd be really really cool

read about public-private key authentication, cause that'd be useful here

@fehmi
Copy link
Author

fehmi commented Sep 30, 2020

The circular connection is a great idea. I will dig the subject a little. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants