API Gateway Event Synchronization Across Cloud Data Centers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing API Gateway solutions face challenges in achieving real-time synchronization across multiple data centers and lack event-based communication for asynchronous operations, particularly in cloud storage environments.
Innovation Solution
Implementing an event-based communication sequence through a traffic manager module that receives messages from an all-in-one module, configures load throttling using cloud storage data, and synchronizes with a key manager and API gateway to achieve real-time synchronization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If NFS storage is used for data availability across multiple API Gateway instances, then data availability is improved, but real-time synchronization between data centers deteriorates
Solution Approach 1:
The patent introduces an event message intermediary system that mediates between API Gateway instances and cloud storage. Event messages are published to a subscription-based event system that distributes synchronization notifications across data centers, enabling real-time sync without direct NFS dependencies between distant locations
Solution Approach 2:
The system segments the synchronization function into independent event publishers and subscribers. Each API Gateway instance independently publishes events to cloud storage and subscribes to relevant event streams, allowing decentralized real-time synchronization that maintains data availability while achieving cross-datacenter speed
2Speed
If cloud storage is used for real-time synchronization, then synchronization speed is improved, but functionality complexity increases
Solution Approach 1:
The patent implements a universal event message system that handles multiple functions through a single cloud storage interface: configuration retrieval, real-time synchronization, and event distribution. This multi-functional approach achieves real-time sync speed while avoiding the complexity of separate specialized systems for each function
Solution Approach 2:
API Gateway instances automatically publish and subscribe to event messages without requiring complex external coordination. The system self-configures by retrieving execution plans from cloud storage and autonomously manages its own synchronization subscriptions, reducing overall system complexity
3Productivity
If event-based communication is implemented for asynchronous operation, then system efficiency is improved, but implementation complexity increases
Solution Approach 1:
The event-based communication system implements automatic feedback loops where API Gateway instances publish events to cloud storage and immediately subscribe to receive notifications. This self-feedback mechanism enables asynchronous operation and improved productivity while keeping implementation complexity manageable through standardized event message patterns
Data Source
AI summary
Provided are a method, system, and device for onboarding an API using an API gateway, the method may include: receiving, by a traffic manager (TM) module, an event message originating from an all-in-one (AIO) module of a first datacenter; receiving, by the TM module, execution plan data from a cloud storage object, wherein the execution plan data may be used to configure load throttling of an API; forwarding, by the TM module, the event message to a key manager (KM) module; receiving, by the TM module, a security file event response from the KM module; forwarding, by the TM module, the event message to an API gateway; receiving, by the TM module, an API data event response from the API gateway; and sending, by the TM module, an API onboarding response event to the AIO module of the first datacenter based on the API data event response.


