当前位置:网站首页>Flink learning 2: application scenarios
Flink learning 2: application scenarios
2022-06-27 02:07:00 【hzp666】
Catalog :

1 Three application scenarios

1.1 Event driven
Business Driven : Computing and storage are in the same place .
event Driven : Computing and storage are separate . Applications with state , Read events from one or more event streams , And react ( Trigger calculation , Status update, etc )
Transaction driven model

The event driver is , Read and write data from the remote transaction database . Event driven applications are evolved from traditional applications .


Typical event driven application scenarios :

Advantages of event driven applications :
Faster access to local data 


Event driven applications , Because it reads local data , So just consider your own data , It will not involve the modification of other systems .

1.2 flink How to support event driven applications :
An important capability of event handling is , Processing time and status .



among flink Of savepoint Is a consistent state mirror , Multiple application statuses can be recorded , So that applications can be upgraded and expanded safely , You can also open multiple applications , To complete A/B test .
1.2 Data analysis application
What is a data analysis application :


Streaming data analysis application :

Write the results to an external database , Or in the internal state

then , Report and other data analysis applications , From an external database , Or internal state reading :

Typical data analysis scenarios :

Advantages of streaming query :
1. Real time data analysis , Relative batch offline data analysis , Low latency
2. It solves the boundary problem in batch off-line data processing
3. Use the fault recovery mechanism , It solves the complex scheduling problem of batch offline jobs ( And upstream operation failure caused by upstream and downstream dependency , Downstream jobs cannot run )



1.2.1 flink How to support data analysis applications
1. Provide standards SQL Interface , Whether it's querying static datasets , Or real-time data sets .
It also supports customization UDF function .
and , If you need to further customize the processing logic , You can also use DataSetAPI and DataStreamAPI Provide a lower level method
in addition ,Flink Of Gelly Library provides more libraries for graph calculation .





1.3 Data pipeline application
Introduction to assembly line : be relative to ETL Homework , Pipeline applications are more real-time


And can realize the directory , Real time monitoring of documents, etc , Once changes occur, they can be captured at any time .


Typical scenarios for pipeline applications :

Advantages of assembly line :

flink How to support pipeline application scenarios :

Provide a large number of connectors :

Support time partition , To write files

边栏推荐
- Learn the most basic operation of discodiffusion
- Oracle/PLSQL: HexToRaw Function
- Oracle/PLSQL: Length Function
- On the operation mechanism of numpy array
- D's appendto packaging
- numpy 数组运算机制浅探
- UVM in UVM_ config_ Setting and obtaining DB non-linear
- paddlepaddle 21 基于dropout实现用4行代码dropblock
- Oracle/PLSQL: Cast Function
- Oracle/PLSQL: Trim Function
猜你喜欢

执念斩长河暑期规划

Sample development of WiFi IOT Hongmeng development kit

CVPR2022 | PointDistiller:面向高效紧凑3D检测的结构化知识蒸馏

参数估计——《概率论及其数理统计》第七章学习报告(点估计)

Svg drag dress Kitty Cat

Look! In June, 2022, the programming language ranking list was released! The first place is awesome

Flink学习1:简介

SQLite Reader 插件测试SQLite语法

Flink学习3:数据处理模式(流批处理)

mmdetection ValueError: need at least one array to concatenate解决方案
随机推荐
Summer planning for the long river
SQLite reader plug-in tests SQLite syntax
Parameter transfer method between two pages
速看!2022年6月编程语言排行榜出炉!第一名太牛啦
简单学习GoogleColab的入门级概念
Oracle/PLSQL: Lpad Function
XSS攻击(笔记)
Oracle/PLSQL: HexToRaw Function
C# Tcp服务器如何限制同一个IP的连接数量?
达梦数据库的卸载
dat.gui.js星星圆圈轨迹动画js特效
Oracle/PLSQL: Rpad Function
Oracle/PLSQL: From_Tz function
图论知识及其应用初步调研
snakemake 使用的注意事项
使用命令行安装达梦数据库
SystemVerilog simulation speed increase
两个页面之间传参方法
Oracle/PLSQL: Upper Function
Oracle/PLSQL: Lower Function