chatofpomelo icon indicating copy to clipboard operation
chatofpomelo copied to clipboard

About the gate server

Open applerao opened this issue 12 years ago • 1 comments

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 avatar Nov 26 '12 06:11 applerao

@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.

changchang avatar Nov 26 '12 07:11 changchang