Google Maps API Design Evaluation and Latency Budget

Learn how we meet the non-functional requirements and estimate the response time of the Google Maps APIs.


We've discussed the design considerations and API model for each functional requirement. In this lesson, we'll cover the approaches for achieving our non-functional requirements and estimate the response time of our Google Maps services.

Non-functional requirements

Let's discuss how we achieve the non-functional requirements for our APIs one by one.


We ensure the availability of our service by replicating our Google Maps services (such as maps, route finder, and places). For example, if a service is not available in one region, the API gateway can route the request to the available replica of this service in another region. Furthermore, if the server is not compatible with the WebSocket while upgrading, we fall back to HTTP/2. It is a trade-off between availability and low latency, but low latency is bearable when it is instead of unavailability of the service.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.