Latency-based routing
To determine the fastest server to serve the response, Route 53 latency-based routing can be used. The service will quickly measure the latency between the DNS service at the closest edge location to the user and the origin. The response to the user will include the address of the origin that has the lowest latency to the user. This is very beneficial if there are services in multiple regions that serve a geographical area where the request is coming from. The service can help to increase the performance of the application by serving the content from the fastest endpoint.
The following diagram demonstrates a latency check that is performed before returning the fastest host IP to the user:
Considering the preceding diagram, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access