Hi all
I followed the guide on matchmaking which is integrated with playfab server.
I made a queue with latency rule, and I send the matchmaking request like described here
Specifying attributes with your tickets - PlayFab | Microsoft Docs
My question is, how do I calculate the latency of the player per each region?
any best practice? like when and how to get the latency?
Should I calculate the latency before matchmaking request? or once every x mins?
thanks in advanc
Answer by Rick Chen · Nov 30, 2020 at 08:48 AM
To measure the latency of the player per each region, you could implement the following in client side:
Please refer to this document: Using Quality-of-Service (QoS) beacons to measure player latency to Azure
You could collect the latencies and put them in the matchmaking request for region selection rule. It is up to you to decide how often to calculate the latency.