How to build a huge cluster with Socket.io combined with UWebsockets? #4684
Unanswered
worldpeaceenginelabs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Now that all of my desktop applications are integrated, I want to establish real-time peer-to-peer communication between them using socket.io and UWebsockets. This is essential for multiplayer gaming which requires fast communication, as well as for sharing the list of all desktops' dyndns addresses(on top of the above mechanism), where speed doesn't matter but reliability is crucial.
I am wondering what I need to set up a production environment for 100 laptops, each running my desktop application, a nodejs server integrated with socket.io/uwebtorrent server and client, and a dyndns address. I am also interested in knowing how this setup would scale if I onboard more laptops in the future.
Is it possible to achieve this using socket.io/uwebtorrent alone, or would I need to use additional tools like for instance cluster adapter or foundationdb?
Thank you in advance for your help.
PS: I would be grateful for any advice you can provide, as this is the most complex project I have ever undertaken. 🙏
Beta Was this translation helpful? Give feedback.
All reactions