Custom Headers for Microservice Localization in Cloud

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In distributed cloud environments, conventional methods require two-way communication contracts to determine user localization, which increases processing overhead and time, especially with multiple services and users, due to the need for identity services to identify geographical locations.

Innovation Solution

The introduction of custom headers in service requests that include localization settings, allowing services to rely on these headers for providing responses, eliminating the need for repeated localization determination and reducing the reliance on identity services.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If two-way communication contracts are used to determine user localization, then accurate geographical location identification is achieved, but processing overhead and time increase

Engineering Contradiction:
Improvelocalization accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent applies preliminary action by including localization settings in custom headers of service requests before the service needs to determine user location. This allows the localization information to be prepared and transmitted in advance, eliminating the need for time-consuming two-way communication contracts at service execution time.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If two-way communication contracts are used to determine user localization, then accurate geographical location identification is achieved, but processing overhead increases

Engineering Contradiction:
Improvelocalization accuracyVSAvoidprocessing overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent extracts the localization determination process from the service execution flow by placing localization settings in custom headers. This separates the localization information transmission from the service communication, reducing processing overhead in the main service logic while maintaining accurate localization tracking.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If identity services are used to identify geographical locations for multiple services and users, then accurate localization is achieved, but system complexity increases

Engineering Contradiction:
Improvelocalization accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies universality by using custom headers as a multi-functional mechanism that carries localization information across multiple services and users. This single approach replaces the need for complex identity service integrations with each individual service, providing a universal solution for localization in distributed cloud environments.

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

Data Source

PatentUS11856067B2Methods and apparatus to centralize localization of micro-services messages in a distributed cloud environment
Publication Date: 2023.12.26 VMWARE INC
  • US11856067B2 patent drawing
  • US11856067B2 patent drawing
  • US11856067B2 patent drawing

AI summary

Methods and apparatus to centralize localization of micro-services messages in a distributed cloud environment are disclosed. An example method includes generating, by executing an instruction with one or more processors, a plurality of messages bundles. Respective ones of the messages bundles are associated with respective ones of a plurality of micro-services. The example method further including creating a localized response based on a non-localized response to a request by a user to one of the plurality of micro-services. The localized response is based on one of the plurality of messages bundles and the one of the plurality of messages bundles corresponds to the one of the plurality of micro-services.