This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
Hi Alex, Why not just always routes users to the same message service instance? I understand that if the load is high on certain chat rooms, you wanted to utilise the other instances to distribute the load. May be you can just scale the message service instance with high load to newer instance with more resources. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @linux-china love the work you've done ... I followed many of your projects and using the OpenAI you made, simply amazing.
I have soo many questions to this RSocket Broker, since I really find it difficult to setup. Is there a tutorial out there somewhere which i missed?
Essentially we have a message-service which can of course create multiple instances... and these services contains chatrooms (sinks with users who are subscribed).... We need to somehow be able to figure out if users are connected to a different message-service instances, then they should still be able to receive messages in-between, so somehow dynamically we want to based on the load, route messages accross one service to another so users who are in the same chatroom but on a different message-service can send and receive messages from and to other users sitting on other message-services with the same chatroom Sink.
I really feel like this RSocket broker could be the trick since i feel a huge overhead relying on Redis for this ... and using RSocket Requester onan infinite amount of chatrooms seems to be to heavy ...
Would you be able to help somehow showing me how I could solve this? I know this is a lot to ask, but I'll take my chances and hope for some assistance... just how I implement the broker, and how i can get one message-service to communicate to another through the broker.
Best Regards
Alex Holmberg
Beta Was this translation helpful? Give feedback.
All reactions