Complex Event Processing (CEP) and Business Rules Management (BRM) are an ideal combination for software systems faced with the following tasks:
The two areas may be seamlessly integrated, as is particularly evident in the distributed, service-oriented system architecture of a CEP & BRM based system.
The recognition of relevant event patterns is carried out by Event Processing Agents (EPA), which perform three tasks:
EPAs are loosely coupled, and can be easily rearranged or expanded in relation to context within a component-oriented system, such as by use of publish-subscribe communication.
Main Components of a distributed system architecture for event processing and decisioning
The task of the BRM system is to make decisions based on the collected and aggregated information. It processes the appropriate rules for the specific complex event.
Depending on the specific application, it may be necessary to keep track of the current state of rule processing in order to guarantee full and complete execution of business rules.
The result of rules processing – the decision – is implemented in the target application. For example, the result can lead to a new event that is directed into the event stream. So data mutually interact between the CEP engine and the BRM system.
With the CEP & BRM based system, companies are able to transparently automate intelligent, complex decisions despite high event volumes.
A component-oriented system architecture allows both parts to perfectly combine their specific individual capabilities and responsibilities:
In a similar way, IT and business departments can add their specialized expertise:
The Visual Rules business rules system makes it easy to expand and adapt even complex business logic for decisioning. It is also used for integrated rule management.
In the component-based system, Event Processing Agents can also be easily expanded and, if necessary, rebundled. To this end, the EPAs must be structured accordingly and arranged into an Event Processing Network (EPN).
It’s the business experts who know decisioning logic in event-based systems. It is the core task of Visual Rules to support these experts to intuitively define the business logic, to test it, update it, and get it into production.
How do companies deploy the combination of CEP and BRM today? And what benefits do they derive from them? Here are two examples:
One typical application is in real-time securities trading. Share prices change, companies release financial reports, central banks announce new interest rates, political events occur, and even the weather can affect market activity. Traders must quickly pick relevant information from a flood of data, recognize connections, and make the right decisions. An application that consistently and continuously condenses information and automatically makes decisions on the basis of defined rules greatly eases traders’ day-to-day challenges.
CEP and BRM are also combined and employed in traffic control and management. The goal is early recognition of causal factors for traffic problems (e.g. increased traffic due to large public events) followed by a quick response (such as by extending the green phase of a given traffic light).
Other applications are: