go-random-chat icon indicating copy to clipboard operation
go-random-chat copied to clipboard

Purpose of forwarder component

Open zimengzhou1 opened this issue 4 months ago • 0 comments

What's the benefit of having the forwarder? It seems like if the chat components subscribe to the rc.msg.pub topic the forwarder becomes redundant. Is it to prevent unnecessary messages from being sent if there are lots of chat servers in the cluster? Is there a trade-off from the extra computation needed for running the forwarder vs publishing messages to all chat servers based on the number of chat servers we have? Really appreciate you sharing this project.

zimengzhou1 avatar Apr 13 '24 15:04 zimengzhou1