Scaling

Note: The content on this page pertains to Game Server Hosting (Multiplay) available on the Unity Dashboard. If you’re using Game Server Hosting (Clanforge), see the Game Server Hosting (Clanforge) documentation.

Game Server Hosting allows you to scale the number of servers in your fleet up and down in response to player demand per region using the scaling system. The scaling system controls when and how regions within a fleet scale up and down. Each regionClosedA region is a geographical locations in which a fleet can host servers. Each fleet can have access to one or more regions and each region within a fleet has independent scaling settings. has independent scaling settings that allow you to tailor how they scale.

Game Server Hosting uses each region’s scaling settings, the build configuration’s usage settings, and the current number of allocated servers to determine how many available servers to maintain per region.

The region’s scaling settings tell the scaling system the minimum number of servers that should be available within the region and the maximum number of servers that should be available in the region.

The scaling system considers all the build configurations within a fleet and uses the worst-case usage settings to determine how many servers can run per machine. Game Server Hosting uses the worst-case usage settings to prevent the fleet from re-scaling each time you switch build configurations.

It’s essential to understand how the worst-case usage settingsClosedThe usage settings are defined in a build configuration and specify how many resources each server has access to. The resources include the CPU core count, the CPU frequency, and the amount of memory allocated per server. impact scaling. For example, if the usage settings allow for three servers to run per machine and the scaling settings require four available machines, the scaling system spins up two machines. The two online machines result in six available servers instead of four due to the usage settings.

Game Server Hosting creates these two additional servers to make the most of the available capacity. By default, these additional servers are in a stopped state and provide a quick way of increasing server availability without needing to start a new machine.

Explore the following topics to learn more: