If using the allocationsA request to the Multiplay API for the best possible game server for a game match. model, once a game sessionA session of multiple players connected to the same game server to play a game together. finishes, players disconnect, and post-processing is finished, the allocated server needs to be returned to the available pool so that it can be allocated for a new session. Each game determines when this event, called a deallocation, should occur so Multiplay lets the matchmaker decide when the server is ready to be reused. Multiplay also automatically deallocates game servers when players exit their game server.
The deallocation request uses the same components that are involved in an allocation request.
- Request deallocation: MatchmakerA multiplayer networking feature in games that groups players into a game session. makes an HTTP request to the Server Deallocate API endpoint. The request includes details of the allocation.
- Hand off: The request gets handed off to the allocation processor. This is done asynchronously because the matchmaker does not need to wait for processing to finish.
- Restore allocated game server: The allocation processor calls the game server on the machine to clear any configuration related to the allocation.
- Return server to available pool: The game server is ready to receive new requests from game clientsSoftware that an end-user, or player, interacts with to join a match on a game server.. It is marked as available and returned to the pool of available serversThe group of game servers in a fleet that is online and ready to fulfill an allocation request..