r/javascript • • 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-1lk7
7 Upvotes

9 comments sorted by

20

u/[deleted] Sep 09 '20

Just an ad for ably paid service, move along

0

u/DangerMouse289 Sep 10 '20

They have free sign up...

1

u/kenman Sep 09 '20

It looks like they have a free tier?

4

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

u/willemliu Sep 11 '20

That makes sense now. Thanks for explaining.

4

u/Gingko94 Sep 09 '20

Why not socket io wtf

1

u/m9dhatter Sep 09 '20

No interpolation.

1

u/[deleted] Sep 09 '20

nice.