Hybrid Event Processing Network with Dynamic Runtime Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing event processing networks (EPNs) lack flexibility in dynamically modifying their structure at runtime, balancing between static and dynamic configurations, which complicates programming and hinders optimal event processing in decoupled architectures.
Innovation Solution
A hybrid EPN is constructed with a declaratively defined static set and a dynamically defined set of event processing agents (EPAs) at runtime, utilizing an Event Router (ER) and Event Processing Context (EPC) to dynamically route events based on event information and metadata, allowing nodes to modify processing paths and optimize programming load.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a static EPN structure is used, then the system is simple to manage and deploy, but it lacks flexibility to dynamically modify processing paths at runtime
Solution Approach 1:
The patent implements a hybrid EPN model that combines static declarative definitions with dynamic runtime modifications. The Event Router interface allows dynamic addition, removal, and reconfiguration of EPAs during execution, enabling the system to adapt to changing business requirements while maintaining a structured foundation.
Solution Approach 2:
The EPN is segmented into two distinct sets: a first set of EPAs defined declaratively (static) and a second set of EPAs defined dynamically at runtime. This segmentation allows the system to leverage the simplicity of static structures for core processing while using dynamic structures for flexible, adaptive routing.
2Adaptability or versatility
If a dynamic EPN structure is used, then the system is flexible and adaptable, but it increases programming complexity and makes deterministic processing difficult
Solution Approach 1:
The patent establishes a declarative baseline configuration of EPAs before runtime execution. This preliminary definition provides a deterministic foundation that simplifies programming by establishing expected behavior patterns, while allowing controlled dynamic modifications through the Event Router interface when needed.
Solution Approach 2:
The Event Router serves as an intermediary between event sources and EPAs, and between static and dynamic configurations. It manages the complexity of dynamic routing decisions by providing a standardized interface for modifying the EPN structure, thereby reducing the programming burden on developers.
3Productivity
If multiple EPAs are involved in event processing, then processing capability is enhanced, but routing decision complexity increases
Solution Approach 1:
The Event Router interface provides universal functionality for managing multiple EPAs, enabling the same interface to handle addition, removal, reconfiguration, and routing decisions. This multi-functional approach consolidates routing complexity into a single standardized mechanism rather than requiring separate handling for each EPA.
Data Source
AI summary
A hybrid event processing network (EPN) having at least one event processing agent (EPA) consists of a first set of EPAs defined declaratively and a second set of EPAs defined dynamically at runtime via an interface. Deploying the hybrid EPN includes loading the hybrid EPN, constructing an EPN structure, and creating indexes of nodes of the EPN structure. Deploying the hybrid EPN further includes representing an event in a hybrid EPN, and, in response to the event occurrence at an event source, receiving a notification from the hybrid EPN based on the event, and publishing the notification in an event channel. Embodiments of the invention includes propagating the event received within the hybrid EPN, determining a subsequent EPA associated with the event within the hybrid EPN, and propagating the event to the subsequent EPA in the hybrid EPN until the last element of the hybrid EPN is reached.


