question

Brian Jordan avatar image
Brian Jordan asked

Meaning of RegionInfo.Available (vs. it being in GetGameServerRegions)

Using PlayFab-hosted custom game servers, is this accurate:

  1. GetGameServerRegions roughly means "get a list of all regions available for this build version"
  2. RegionInfo.Available means "if you created a new game in this region right now, it would happen instantly" (vs. waiting for an auto-scaled-up server)

We're hoping to differentiate between when (A) a new server is spinning up in that region (which takes a couple of minutes), and thus to tell the player to wait, (B) if they can create a match in that region instantly, and (C) if that build version has not been uploaded yet or has been deleted.

apissdksCustom Game Servers
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

Yes, GetGameServerRegions returns the set of regions in which you have at least one running custom game server with capacity to add an instance. But you really should be setting your min free instances configuration setting to high enough that you won't have a time when there isn't an instance waiting to start.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.