How to calculate player ping/latency for matchmaking?

1

I noticed that for matchmaking requests, for each player in the ticket, you have to specify a latency map field. However, I am wondering how twe should calculate these values. I have stumbled across these sites: https://www.cloudping.info/ https://cloudpingtest.com/aws And I was wondering how these sites calculated these values?

Also, I wanted to know if StartMatchmaking behaved similarly to StartGameSessionPlacement with regards to placing players on fleets in regions with better connection speeds relative to the players. In the documentation for StartGameSessionPlacement,

When placing a game session, by default Amazon GameLift tries each fleet in the order they are listed in the queue configuration. Ideally, a queue's destinations are listed in preference order.

Alternatively, when requesting a game session with players, you can also provide latency data for each player in relevant Regions. Latency data indicates the performance lag a player experiences when connected to a fleet in the Region. Amazon GameLift uses latency data to reorder the list of destinations to place the game session in a Region with minimal lag. If latency data is provided for multiple players, Amazon GameLift calculates each Region's average lag for all players and reorders to get the best game play across all players.

I wanted to know if this logic applied to how FlexMatch matches players even if you don't specify a rule in the matchmaker's rule set that is directly related to latency.

gefragt vor 4 Jahren917 Aufrufe
6 Antworten
0
Akzeptierte Antwort

Matchmaking groups players into a sesssion and then basically goes to create that session by using StartGameSessionPlacement on your queue.

If you provide the latency data, matchmaking will use it when making matches with players and then the session will be placed according to latency rules on the queue.

Quite a few forum posts related to this ie:

To get the ping data, the recommended ways is to ping the GameLift regional endpoint of the region that you are calculating latency to from the game client and then include that information in the request to StartGameSessionPlacement.

You can find a list of the regional endpoints for GameLift here: http://docs.aws.amazon.com/general/latest/gr/rande.html#gamelift_region

Does that cover your question?

beantwortet vor 4 Jahren
profile picture
EXPERTE
überprüft vor einem Monat
0

Thank you Pip, that absolutely does cover my question!

beantwortet vor 4 Jahren
0

Gamelift god for unreal engine community is chrisgong and flopperam team

beantwortet vor 2 Jahren
0

Hello chris.I am getting an error when i try to enter this url in postman

https://gamelift.ap-south-1.amazonaws.com

Can you find an alternative url to get ping for different aws services

beantwortet vor 2 Jahren
0

I was able to ping on CLI:

> ping gamelift.us-west-2.amazonaws.com
PING gamelift.us-west-2.amazonaws.com (52.119.161.68): 56 data bytes

> ping gamelift.ap-south-1.amazonaws.com
PING gamelift.ap-south-1.amazonaws.com (52.95.80.229): 56 data bytes
beantwortet vor 2 Jahren
0

Hello.Yeah i can get them in ping but when i am doing a get request it is giving error.What should i do to get Ping in json format

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen