question

Bucketplay.Inc avatar image
Bucketplay.Inc asked

Backfill Feature Implementation Inquiry

We are currently developing a 3vs3/4vs4/5vs5 sports game.
We are using the MatchMaking function provided by PlayFab

When the MatchMaking Ticket is created, the game will start with minimum party to reduce queue.
Afterwards, the rest of the headcount is filled with CreateServerBackfillTicket by using server allocation.

Because the users may leave during a match or the game might start with insufficient players, the server needs to check the number of players and fill them.
The maximum number of players per MatchMaking server is 6 ~ 8.

If 10k matching occurs, we’ll need 10k server allocation.
If 10k servers are to be allocated, we would need 166 computers (based on Standard_D2as_v4, 60 servers per computer).

We need a function for backfill, but the method above is estimated to cost a lot of money.

We are wondering if the method of our work process shown above is correct.
Could you give us an estimate of the monthly cost?
Or, if there is another way to add the “backfill” feature, please tell us.

Matchmaking
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

·
Seth Du avatar image
Seth Du answered

Backfill tickets usually are created when all members have been matched, while very few of them don’t succeed in connecting to the server instance. The rest connected players can wait for few minutes before the last one is connected. However, creating backfill ticket without any limitation will cause issues.

It depends on the game mechanism. If it is MOBA game, disconnecting will result in punishment and as there is no backfill mechanism, if the player doesn’t re-connect in 5 minutes, this player will be punished and the game is considered as an unqualified game, other players will be free to leave. The basic idea is that there is solid connection time, and it is when backfill is allowed. While after the game starts, the game will dismiss if there is no qualified number of players.

However, most of the time is still the gaming process, 10K matches will require 10K server instances, based on the payload of each server build, you may define multiple server instances per virtual machine (in server per machine field), hence a stress testing will be compulsory.

Recently PlayFab releases a MPS calculator, please check Estimate your monthly charges for MPS (playfab.com).

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.