当前位置:网站首页>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

边栏推荐
猜你喜欢

Cvpr2022 | pointdistiller: structured knowledge distillation for efficient and compact 3D detection

【微服务|Sentinel】降级规则|慢调用比例|异常比例|异常数

ConstraintLayout(约束布局)开发指南

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

I earned 3W yuan a month from my sideline: the industry you despise really makes money!

Some exception handling for idea plug-in development

lottie. JS creative switch button animal head
Reading a book in idea is too much!

二叉樹oj題目

C language -- Design of employee information management system
随机推荐
svg拖拽装扮Kitty猫
TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
Oracle/PLSQL: Length Function
memcached基礎12
Oracle/PLSQL: Rpad Function
lottie. JS creative switch button animal head
Some exception handling for idea plug-in development
按键控制LED状态翻转
使用命令行安装达梦数据库
Oracle/PLSQL: Translate Function
UVM in UVM_ report_ Enabled usage
Flink学习4:flink技术栈
Simply learn the entry-level concepts of googlecolab
Oracle/PLSQL: NumToYMInterval Function
Flink學習2:應用場景
lottie.js创意开关按钮动物头像
Memcached foundation 9
d的appendTo包装
memcached基础12
Look! In June, 2022, the programming language ranking list was released! The first place is awesome