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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ