Please enable JavaScript.
Coggle requires JavaScript to display documents.
SSE, WS (Bi-directional, Needs more development effort, Adds more cost…
SSE
HTTP Long Polling
It might be polling even if there is no change in data.
Horizontal Scaling is tricky
WS
Bi-directional
Needs more development effort
Adds more cost when scaling to million of users
Blocker
DevOps
Socket Scaling
RTDB
Client will subscribe to RTDB and updates the data whenever there is change
Transaction BC
EventListener
Socket
Admin
DB
Redis
List of Socket Connections
C3
C4
C2
Client1
S1
S2
S3
Cons
UniDirectional