We recently released the AppWarp S2 master server for our customers who have deployments that span multiple AppWarp S2 instances. In this post, I will introduce our AppWarp S2 Master Server sample application.
This sample will guide you through setting up the master server application, configuring it and the game servers, which sit behind it in the topology. You can also watch the video below.
The sample also illustrates how you can customize the master server logic as well via custom messages with the client. So for example in the sample, the client has the capability to ask the master server to redirect it to the game server in which a particular user is playing. The master has this information from the game servers that are connected (behind it). It then queries this information that it maintains and returns the result accordingly.
The game server itself is the AppWarp S2 Chat Server application, which developers who have been working on AppWarp S2 will be familiar with. The programming paradigm on the master server is similar to that on AppWarp S2 Game server (adaptor, interface and observer).
Note that the master server only communicates with licensed (paid) AppWarp S2 game servers. So you must have a valid paid license key configured in your AppConfig.json file.
The sample can be downloaded from our download page and the sample walk through is available on our site.
If you have any questions or need any further assistance, please feel free to write us at email@example.com