Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bring back whois-based bare metal datacenter autodetection for multiplay/unity

Choose a tag to compare

@gafferongames gafferongames released this 01 Aug 12:51
· 709 commits to main since this release

Unity/Multiplay have been unable to provide their customers with the datacenter a game server is running in for 7+ years.

This is a huge problem for a network accelerator like Network Next because we need to accelerate game traffic to the correct datacenter that the game server is actually located in, not some random datacenter in the same city.

Thus, because of Unity's general incompetence, rely only on them to provide us with the city name: "unity.saopaulo" and then run a custom whois implementation on the game server, parsing the whois output to match various tags like "i3d", "maxihost", "gcore" to identify the actual server hosting company, and then update the datacenter name accordingly. For example: "unity.saopaulo" -> "i3d.saopaulo"

sigh