You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple instances of the chat service running on multiple machines will each have their own set of rooms. So behind a load balancer, clients attempting to join the same room could be segmented arbitrarily into different rooms on seperate servers. This is suboptimal.
One way to change this: Tell some greeting service / load balancer which machines serve which rooms. Then redirect clients to the appropriate machines. This way, each room name would be unique. It would require that the client caches which server to access for some room (to avoid wasting network communication with the redirection). Also, you would not be able to split rooms across servers.
The text was updated successfully, but these errors were encountered:
Multiple instances of the chat service running on multiple machines will each have their own set of rooms. So behind a load balancer, clients attempting to join the same room could be segmented arbitrarily into different rooms on seperate servers. This is suboptimal.
One way to change this: Tell some greeting service / load balancer which machines serve which rooms. Then redirect clients to the appropriate machines. This way, each room name would be unique. It would require that the client caches which server to access for some room (to avoid wasting network communication with the redirection). Also, you would not be able to split rooms across servers.
The text was updated successfully, but these errors were encountered: