Today I'm going to speak about a few things: the server structure ,about messaging and finally about blocking sockets vs non blocking sockets:
Server Structure:
I plan to make my server architecture based in something like that:
Clients (a.k.a. players) will connect to a login/ authentication server , when validated they will connect to the proxy server, proxy will redirect players to the less loaded server, (balancing server load), server instances will be deployed across the servers on demand ( if a server is more powerful it could handle more instances), all server instances + login server + proxy srv will access the SQL server to write /read all persistent data to be stored, such as:
- Usernames / passwords for the login server
- Maps , players and objects for the server instances
- Number of instances, server instance sockets and health status of the instances (load and failures) for the proxy server.
<Messaging in the next post>
No comments:
Post a Comment