Resilient Geographic API with Local Cache Fallback

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing geographic service APIs for enterprise clients face reliability issues due to network unavailability, leading to service disruptions and inaccurate geographic information delivery.

Innovation Solution

Implementing a resilient API that generates storage-based responses using cached geographic information when network-based responses are delayed or unavailable, with periodic updates to latency statistics and alerts for quality monitoring.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the enterprise client relies solely on network-based API calls to the geographic service, then the system can access the most up-to-date geographic information, but the service reliability deteriorates when the communication network is unavailable

Engineering Contradiction:
Improveservice reliabilityVSAvoidgeographic information availability
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The system performs preliminary actions by caching geographic information locally before network unavailability occurs. The cache stores geographic data that can be retrieved without network access, ensuring service continuity. This is implemented through the cache manager that pre-loads and stores geographic information in local storage, allowing the enterprise client to operate during network outages.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The cache acts as an intermediary between the enterprise client and the geographic service. When the network is unavailable, the cache manager provides geographic information from local storage rather than attempting direct network access. This intermediary layer absorbs network unavailability and maintains service reliability by serving cached data.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If the system implements caching to improve reliability during network outages, then service availability improves, but the device complexity increases due to cache management overhead

Engineering Contradiction:
Improveservice availabilityVSAvoidcache management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The cache manager implements self-service by automatically managing cache operations without requiring enterprise client intervention. The system autonomously determines when to cache data, what to retrieve from cache, and when to invalidate cached entries. This self-managing approach reduces the complexity burden on the enterprise client while maintaining service availability.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The cache manager serves multiple functions: storing geographic information, retrieving cached data, invalidating expired entries, and managing storage space. By consolidating these diverse functions into a single universal component, the system reduces overall complexity compared to having separate mechanisms for each cache-related task.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If the enterprise client frequently queries the geographic service to ensure data accuracy, then the information accuracy improves, but the loss of time increases due to network latency and service interruptions

Engineering Contradiction:
Improvegeographic information accuracyVSAvoidresponse time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by caching geographic information in advance before it is needed. This pre-caching eliminates the need for real-time network queries during service operations. The cache manager retrieves and stores geographic data proactively, so when the enterprise client needs the information, it is immediately available from local storage without network latency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system skips the network communication step by serving cached geographic information directly to the enterprise client. Instead of rushing through the network query process, the cache manager bypasses network latency entirely by providing pre-retrieved data, significantly reducing response time while maintaining acceptable accuracy for many geographic information needs.

Inventive Principle:
Principle #21Skipping (Rushing through)

Data Source

PatentUS12174860B2Providing a resilient application programming interface for geographic services
Publication Date: 2024.12.24 GOOGLE LLC
  • US12174860B2 patent drawing
  • US12174860B2 patent drawing
  • US12174860B2 patent drawing

AI summary

A method for providing availability of geographic data to enterprise clients. The method is implemented by processing hardware and includes generating a storage storing geographic information available to an enterprise client via an API call, where the enterprise client configured to (i) receive service requests from user devices and (ii) invoke the API to provide, in response to the service requests, information related to geography. When the enterprise client invokes the API to submit a query (304), the method includes: in a first instance, transmitting the query to a geographic service via a communication network (306) and generating a network-based response to the query using geographic information received from the geographic service in response to the query (312), and in a second instance, generating a storage-based response to the query using the geographic information stored in the storage (322).