- Newest
- Most votes
- Most comments
Hi!
Expansions are based on the age of the newest ticket in the potential match being formed. If you want expansions to happen based on the oldest ticket you'd have to use the expansionAgeSelection
attribute.
For the first rule set:
- At 45s, a match with
player1
andplayer2
is evaluated. Since expansion is based on the age of the newest ticket which is 35s, theminPlayers
allowed is 2 and a mach cannot be formed. - At 45s, a match with
player1
is also evaluated. Since expansion is now based on the age of the newest ticket in the potential match, theminPlayers
allowed is 1, and a match is formed. - At 55s, a match with
player2
is evaluated and formed. The reasoning being similar to the previous step.
If the requirement is to prioritize matches of higher size, it would be better to wait for longer before applying the expansion. You could alternatively base the expansion on the oldest ticket in the potential match formed, which would guarantee the behavior you are expecting. In this case FlexMatch applies expansions faster, which improves wait times for the earliest matched players, but could potentially lower the match quality for all players (in case there are other attributes outside of team size you are looking at).
This should help explain the behavior for the 3 further cases listed. For any match that is concerned the expansion is evaluated based on the age of the newest (or oldest ticket based on expansionAgeSelection
) ticket in the match. So after player2
has been added, any match which includes player2
will have expansion evaluated based on the age of that ticket.
Please let us know if you have any other questions. Thanks!
Relevant content
- Accepted Answerasked 4 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago