go-random-chat
go-random-chat copied to clipboard
Purpose of forwarder component
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.