o3de / o3de-multiplayersample

Multiplayer sample project for the Open 3D Engine
https://o3de.org
Other
79 stars 56 forks source link

MPSGameLift Gem: AWS Region Latency Finder #447

Closed AMZN-Gene closed 1 year ago

AMZN-Gene commented 1 year ago

Adding a system component to retrieve the latency from various AWS regions. By getting the round-trip-time to different AWS endpoints (us-west-2, us-east-1, etc) players can select the best server for their matches.

A digestible part of a large initiative for integrating GameLift's FlexMatch. (https://github.com/aws-lumberyard-dev/o3de-multiplayersample/tree/mps_flex_match)

Tested by creating a menu component and calling "RequestLatencies". Ensured OnRequestLatenciesComplete was received, and that latency times are correct.