Reusing Allocated GameServers for more than one game session
GameServerhas completed a player session, return it back to the pool of Ready
GameServer terminate after a single player session is better for packing and optimisation of
infrastructure usage, as well as safety to ensure the process returns to an absolute zero state.
However, depending on the
GameServer startup time, or other factors there may be reasons you wish to reuse a
GameServer for n number of sessions before finally shutting it down.
The “magic trick” to this is knowing that the
GameServer process can call
SDK.Ready() to return to a
state after the
GameServer has been allocated.
It is then up to the game developer to ensure that the game server process returns to a zero state once a game session has been completed.
- Have a look at all commands the Client SDK provides.
- If you aren’t familiar with the term Pod, this shouldw provide a reference.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 12, 2021: Fix typo (#2260) (936fcc8)