nano icon indicating copy to clipboard operation
nano copied to clipboard

What are the best practices for user push across different gateway machines?

Open daewoochen opened this issue 7 months ago • 0 comments

With multiple GatewayServer deployed and different users connected to different GatewayServer, what is the best practice under the current framework when a user connected to gatewayServerA wants to push a message to a user connected to gatewayServerB? Is the following method feasible

  1. Create a sessionServer to manage all sessions.
  2. When users connect to different GatewayServer, they will be registered through rpc calling sessionServer.
  3. To actively push information to users, need to call the sessionServer through rpc instead of pushing information to gateServer directly.

daewoochen avatar Jul 20 '24 08:07 daewoochen