官术网_书友最值得收藏!

Streaming and Complex Event Processing

Before we look at streaming and complex event processing, let's explore the concept of OLTP and OLAP databases. OLTP stands for Online Transaction Processing. OLTP supports online transactional operations such as insert, update, and delete, and stores data in normalized form. Normalization is cleaner easier to maintain and changes as it minimizes the data duplication—for example you may store student name and student address in to tables. If you need to update the address or add two addresses for a student, you can do it efficiently without touching the student table. But to query a student's details, one needs to join the student and address tables.

OLAP stands for Online Analytical Processing. It processes historical or archived data to get business insights. In OLAP generally, data is denormalized or duplicated in multidimensional schemas for efficient querying. Here, you don't have to join ten tables to get an insight. OLAP is the foundation of business intelligence (BI). 

ETL (Extract, Transform, and Load) is a process to pull data from OLTP to OLAP. ETL is not a real-time process, jobs are generally executed at the end of the day. The ETL/OLAP model, or the typical business intelligence architecture, doesn't work when we need to process a stream of transactional data and provide business insights or detect threats or opportunities (business insights) in real time. For example, you cannot wait for a few hours to detect fraudulent credit card transaction.

Complex event processing enables real-time analytics on transactional event streams. It intercepts different events, then computes or detects patterns, and finally takes action or provides business insights. 

Apache Ignite has the capability to stream events from disparate sources and then perform complex event processing. The following diagram explains Apache Ignite's complex event processing architecture:

主站蜘蛛池模板: 锦屏县| 若羌县| 施甸县| 庆元县| 东港市| 库尔勒市| 贺兰县| 随州市| 高平市| 富源县| 霍林郭勒市| 延边| 社旗县| 和静县| 台东市| 枣庄市| 临猗县| 东平县| 岗巴县| 图们市| 江口县| 鄂托克旗| 北海市| 台湾省| 滦南县| 武夷山市| 永德县| 慈利县| 申扎县| 凯里市| 子长县| 滦南县| 大足县| 都匀市| 竹溪县| 沅江市| 沂源县| 阿图什市| 精河县| 阳西县| 宁陵县|