r/javascript • u/DangerMouse289 • Sep 09 '20
A realtime communication framework so devs can build multiplayer games without worrying about the networking side of it
https://dev.to/ablydev/building-realtime-multiplayer-games-has-never-been-easier-presenting-a-realtime-communication-framework-for-games-1lk74
u/willemliu Sep 09 '20
Looks promising. You mention scalability in your article. I'm curious how you manage that? Websockets are persistent connections and while skimming your source code I haven't found anything which would indicate cross server communication or distributed cache in order for your server to scale horizontally.
2
u/DangerMouse289 Sep 11 '20
The framework is built on top of Ably which is a distributed realtime messaging infrastructure. Ably by itself deals with scale as described here https://www.ably.io/resources/datasheets/using-ably-at-scale which is why you don't see any distributed systems in the code of this project itself.
1
4
1
1
20
u/[deleted] Sep 09 '20
Just an ad for ably paid service, move along