API Gateway Routing via Central Registry for Microservice Migration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Migrating from monolithic applications to microservices in cloud computing environments is challenging due to tightly coupled API management rules, requiring substantial reimplementation of gateway functions and scattered configurations across multiple locations, which is difficult to maintain and update efficiently.
Innovation Solution
Implementing a centralized API registry and routing rule processor that abstracts API request routing rules from service provider implementations, allowing transparent migration by maintaining URL pattern-to-application mapping and enabling seamless integration with both monolithic and microservice architectures.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If API management rules are tightly coupled to a specific API gateway implementation, then routing functionality can be achieved, but reimplementation of entire gateway functions is required when switching to a different gateway product
Solution Approach 1:
The patent segments the API management system into two independent parts: a gateway implementation layer and a routing rule layer. The routing rules are extracted from the gateway implementation and stored separately in an API registry, allowing different gateway products to use the same routing rules without reimplementation.
Solution Approach 2:
The patent introduces an API registry as an intermediary component that stores routing rules and serves them to the gateway. This intermediary decouples the gateway implementation from the routing logic, enabling gateway switching without rule reimplementation.
2Ease of manufacture
If routing configurations are distributed across multiple locations in the system, then local customization is possible, but configuration maintenance becomes difficult during migration
Solution Approach 1:
The patent merges all routing configurations into a single centralized location - the API registry. This consolidation eliminates the need to update configurations across multiple locations, making maintenance during migration straightforward while preserving all routing functionality.
3Productivity
If substantial changes are made to support new routing rules during migration, then routing can be updated to support microservices, but the migration process becomes complex and error-prone
Solution Approach 1:
The patent performs preliminary action by pre-defining and storing all routing rules in the API registry before migration. This allows the gateway to automatically apply correct routing rules during migration without requiring complex manual configuration changes, reducing errors and improving efficiency.
Data Source
AI summary
A system associated with an enterprise microservice cloud computing environment may include a central API registry that contains API URL pattern-to-application mapping. A routing rule processor of an API gateway, coupled to the central API registry, may receive a first request (including a first request API URL) for a first user API call. Based on the first request API URL, the central API registry may be queried to determine an associated first application instance. The first request may then be routed to the first application instance to process the first user API call. A second request for a second user API call, including a second request API URL may be received. Based on the second request API URL, the central API registry may be queried to determine an associated second application instance, and the second request may be routed to the second application instance.


