You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2022. It is now read-only.
Ian Glen edited this page Aug 13, 2013
·
1 revision
How Client/Server Works
Clients can connect to Node.js servers, which are used to relay events and world updates between clients. The server periodically accesses a Redis database server to store and retrieve world data, user accounts, and client data.
Multiple Servers
Due to the way Redis works, it is possible to run multiple Node.js to help with load balancing and such, as multiple servers can connect to a single Redis server and share the same world. Please note that at the time, Dominion clients can only connect to a single Node.js server and are unable to pick the best server from a list. The client is unable to discover servers and therefore requires a server address to be hard coded in a configuration file.
Multiple Worlds
Since a single Redis server can only host a single world, other Redis servers must be launched in order to host different worlds. Dominion servers can only connect to a single Redis server at the moment and therefore doesn't have the ability to select servers from a list. A server address must be hard coded in a configuration file.