Discussion about this post

User's avatar
snow's avatar

Does the Load Balancer hold all connections? i know it's impossible at such a large scale.

Or it just act like a dns, just return the correct websocket gateway address? and the real connection is between user -> sticky websocket gateway

Dheemanth Bykere Mallikarjun's avatar

Lets say we want to send message for user b. The backend reads from redis that user b is connected to gateway node 1. But it uses hash of user b as partition key to dispatch the message . How is the information from redis store used here ? Doesn’t

It seem redundant if Kafka is taking care of all routing

9 more comments...

No posts

Ready for more?