Real-time multiplayer games with Node.js

Distributed Systems

Nairi Harutyunyan / nairihar

Backend Engineer / Screenful

t.me/nodejsarmenia

JavaScript Community 💚

Overall architecture

Databases

Servers communication

 Scalability

...

CAP theorem

AP

CP

CA

Availability

Partition Tolerance

Consistency

*

The system continues to work as expected,

even in presence of partial network failure.

All clients see the same view of data,

even right after an update or delete.

All clients can find a replica of data,

even in case of partial node failures.

API

Socket 

Game

Room

MQ

SQL

Redis

Nginx

JAVA

Objective-C​

JavaScript

New

Backend

SDK

SDK

index.htm#hash

Thanks!!!

Any questions?

#gcon20

@nairihar

GCON 2020

By Nairi Harutyunyan

GCON 2020

Real-time multiplayer games with Node.js

  • 243