Topic in chapter: How do we know which server holds the connection to which user?
We can
introduce a software load balancer in front of our chat servers; that can map each
UserID to a server to redirect the request
At bottom you say ,“The chat server will first find the server that holds the connection for the receiver”
How can chat server finds this if this info is with load balancer?Load balancer should ideally accept request from client and not from chat server.
Can you please clarify?
Course: Grokking the System Design Interview - Learn Interactively
Lesson: Designing a URL Shortening service like TinyURL - Grokking the System Design Interview