Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
daewoochen opened this issue Jul 20, 2024 · 0 comments
Labels

Comments

@daewoochen
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant