Based on where you visit from, Google Cloud Load Balancer routes your request to the closest compute region the application is deployed in.
[source code]