Monitoring workflows using BAM and CEP

There are multiple processes running in an organization, and it becomes difficult to visualize all the processes. To analyze a process, we need to monitor the process.

Understanding BAM

To have a real-time look at all the processes that are running within a business organization, you can make use of Business Activity Monitoring (BAM). With the help of BAM, we can easily identify the problems or risks and take preventive steps to resolve them and adapt the change. For the implementation of a BAM solution, perform the following steps:

  • Gathering of events: This step involves the collection of data from events of various sources within an application. The data can be things like the purchase of five pairs of trousers for $50.
  • Analyzing gathered data: Here we can do some filtering on the gathered data to get an output based on some conditions. For example, a garment store has announced a discount on all their products. Now, the store owner wants to know which products are sold more; for this, he can filter the sold products.
  • Generating reports: In the previous step, we have seen an example of a garment store. After the analysis, the owner has the data of the most sold products. Based on the reports, he can make a decision as to which products are trending and focus on those.
    Understanding BAM

Understanding CEP

CEP stands for complex event processing. In CEP, the main event can be identified based on the collection of certain basic events occurring simultaneously. For example, consider the following events:

  • Church bells ring
  • A man wearing a tuxedo appears, with a woman in a white gown at his side
  • Rice flies through the air

From the preceding basic events, we can identify that there is a wedding going on. CEP filters, correlates, and performs calculations on real-time event data and generates a new event. CEP works as an inverted database, where the data is stored in the database and then we can fire queries to retrieve the data from the database.

The CEP engine performs different types of operations on the events, such as the filtering of events, the aggregation of events, and the joining of events. Based on the results provided, a pattern matching mechanism that looks for the data that is to be provided as an output is executed.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset