Run Multiple or Concurrent Games #

Run multiple concurrent game instances on a single server #

To host multiple game instances concurrently on a single server, set the gameCapacityPerServer value in the server pool management policy for that server. When the server starts reporting capacity, pass the same value as the MaxGameInstanceCount parameter in the MatchApi.startReportCapacityPolling method.

A game server can reconfigure its max game instance count after capacity polling has started by calling MatchApi.UpdateMaxGameInstanceCount with a new maxGameInstanceCount value. The new value will be reported indefinitely.

Run subsequent game instances on a single server #

When a game instance ends, if the game server expects to receive subsequent game instances, the host game server should tell the engine that its used capacity has decreased. To do so, the game server should call MatchApi.ReportFreedCapacity when a game instance ends. The next time the game server reports its capacity, the freed capacity is reflected.