The test server belongs to a test buyer, and this test buyer has a "route shader" that describes when to accelerate clients.
Right now the route shader is set to always take network next - even if there is no acceleration found - for testing purposes.
Let's modify the route shader for the test buyer, so it only accelerates players if we can find at least 1 millisecond of latency reduction.
Open the file terraform/dev/relays/main.tf and make the following changes:
Commit the changes:
git commit -am "disable force next"
git push originApply the changes with terraform:
cd ~/next/terraform/dev/relays
terraform init
terraform applyThe terraform actions have updated the route shader for the test buyer in the postgres database.
To make these changes live, we need to commit them to the dev environment:
cd ~/next
next database
next commitThis is the process for making any changes to the dev database configuration in terraform:
- Modify terraform files
- terraform init and apply
- Commit the database changes
Please wait a few minutes for the updated settings to take effect, they should be live in less than a minute.
Connect a test client again:
run clientYou will see that now it probably won't be accelerated:
Drilling in to the session you can now see only the non-accelerated latency, so the session is not accelerated.
Obviously, it's not particularly impressive to see a session not be accelerated. We want to see some acceleration!
To make it easier to see real acceleration, let's move the test server to Sao Paulo, Brasil.
Up next: Move test server to Sao Paulo.
