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.

已提问 4 年前918 查看次数
6 回答
0
已接受的回答

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?

已回答 4 年前
profile picture
专家
已审核 1 个月前
0

Thank you Pip, that absolutely does cover my question!

已回答 4 年前
0

Gamelift god for unreal engine community is chrisgong and flopperam team

已回答 2 年前
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

已回答 2 年前
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
已回答 2 年前
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

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则