chatofpomelo
chatofpomelo copied to clipboard
About the gate server
Since every request to connector server need to query the gate server first to determine which connector server to connect, the gate server will have a great pressure, how to resolve this problem then?
@applerao Yeah, good question.
First of all, the gate server in the chatofpomelo, is a demo to describe the architecture and strategy . In fact, it could be a cluster of servers that provided entry querying service based on websocket or http or any protocol you like. You could scale up and do any load balance on the cluster as you wish.
Secondly, the gate server just handles the entry query requests and the logic should be very simple and the response would be return very quickly. It is unlikely to become a pressure focus easily.