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

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:

主站蜘蛛池模板: 阿拉尔市| 红安县| 苍山县| 乌鲁木齐县| 芦溪县| 平和县| 武威市| 呼和浩特市| 云阳县| 平邑县| 商南县| 施秉县| 湖南省| 绩溪县| 房产| 清新县| 慈利县| 金华市| 伽师县| 德保县| 丰台区| 青浦区| 宜阳县| 库车县| 东丰县| 临桂县| 永善县| 盘锦市| 鹤峰县| 云阳县| 凤山县| 武胜县| 马边| 通化市| 社旗县| 天水市| 黄骅市| 新竹市| 河间市| 五家渠市| 肃南|