question

Brian Jordan avatar image
Brian Jordan asked

Handling when servers are still starting up and player needs to create a new match?

At certain points during Custom Game Server auto-scaling using PlayFab's Client.Matchmake, new servers are spinning up, and those servers are the only open slots we can create matches in.

When we try to call Matchmake with StartNewIfNoneFound: true in a region which is starting up a new server, PlayFab gives us an error saying no servers are available.

Is there any way to pre-reserve a matchmaking ticket with the info of the server to wait around for? Or is the best option to auto-retry / tell the player to wait a bit before trying again?

Custom Game ServersMatchmaking
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

No, matchmaking requires either an available slot in a running game server instance, or a free instance slot where a game can be started. That's specifically why we have the min free slots setting - so that you can set that high enough to ensure that there will always be servers available for players looking for new sessions. When you first activate a new region, you do need to wait for at least one server to get to the Running state, before you'll be able to successfully matchmake.

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.