Hi everyone,
I am currently designing a MOBA game for android platform and I have a few problem with the backend. On the MOBA game lobby, which is the better solution?
1. Game clients will get a lobby server's IP address by HTTPS POST request to the backend web service. The game clients will connect directly using TCP sockets to the dedicated lobby server. From there, the game clients can login and the lobby server will deal with all the incoming request from the game clients.
2. There will be a hard coded IP address of a TCP load balancer (E.g. Amazon Load Balancer) in all game clients. The game clients will just connect to the load balancer and let the load balancer choose which lobby server to handle the future requests.
3. Similar to 1, should all the lobby server have access to the game database or should all the lobby server do a HTTP request to the backend web service to get whatever data the lobby server wanted?
↧