Mediator Cluster for Optimal FaaS Routing in Edge Cloud
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In existing distributed edge cloud environments, implementing serverless functions is complex due to the need for setting broker information for event routing and lack of criteria for determining which cloud to call when the same function exists across multiple clouds, leading to inefficient performance.
Innovation Solution
An event-based optimal FaaS connection method and device that utilize a mediator cluster to filter and select the most suitable target cluster for function execution based on resource monitoring information and pre-defined function selection criteria, simplifying design and maintenance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If broker information is manually configured in each cloud for event routing, then event routing functionality is achieved, but system complexity and maintenance difficulty increase
Solution Approach 1:
The patent introduces a mediator cluster that acts as an intermediary between event sources and target functions. The mediator cluster maintains a centralized registry of function locations across multiple clouds and automatically routes events to appropriate targets, eliminating the need for manual broker configuration in each cloud and reducing system complexity.
Solution Approach 2:
The routing logic and broker management functionality are extracted from individual cloud systems and consolidated into a dedicated mediator cluster. This separation allows each cloud to focus on its core function while the mediator handles the complexity of cross-cloud event routing and broker management.
2Reliability
If all functions are called when the same function exists in multiple clouds, then completeness of function execution is ensured, but performance efficiency deteriorates
Solution Approach 1:
The patent changes the routing parameter from a blanket 'call all functions' approach to a selective approach based on resource monitoring information. The mediator cluster monitors resource usage metrics (CPU, memory, network) and uses these parameters to intelligently select the most appropriate cloud instance for function execution, improving efficiency while maintaining reliability.
Solution Approach 2:
The system implements feedback mechanisms where resource monitoring information from each cloud is continuously collected and fed back to the mediator cluster. This feedback enables dynamic decision-making about which cloud instance should execute the function, allowing the system to adapt to changing conditions and optimize performance while ensuring function execution completeness.
3Reliability
If manual broker configuration is required for each cloud, then event routing can be established, but design and maintenance become complicated
Solution Approach 1:
The mediator cluster serves multiple functions: it acts as an event broker, maintains a registry of function locations, monitors resource conditions across clouds, and makes routing decisions. This multi-functional approach consolidates what would otherwise require separate systems in each cloud, simplifying design and maintenance while ensuring reliable event routing.
Data Source
AI summary
An event-based optimal FaaS connection method includes: generating, by a transformation component of a first cluster among a plurality of clusters, a second event by changing an event metadata type value according to whether a function to be executed by a first event detected by the first cluster exists in the first cluster; passing, by a first event broker component of the first cluster, the second event to a trigger service component of a mediator cluster when the function to be executed does not exist in the first cluster; filtering, by the trigger service component, a target cluster by referencing resource monitoring information of each cluster environment and a pre-defined function selection criterion file, and generating a third event corresponding to the target cluster; and passing, by a second event broker component corresponding to the filtered target cluster of the mediator cluster, the third event to the first event broker component.


