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

边栏推荐
- Oracle/PLSQL: Replace Function
- 为什么先划分训练集和测试集后归一化?
- canvas粒子篇之鼠标跟随js特效
- perl语言中 fork()、exec()、waitpid() 、 $? >> 8 组合
- Summer planning for the long river
- Cookie, sessionstorage, localstorage differences
- 我靠副业一个月挣了3W块:你看不起的行业,真的很挣钱!
- TechSmith Camtasia最新2022版详细功能讲解下载
- Precautions for using sneakemake
- Google began to roll itself, AI architecture pathways was blessed, and 20billion generation models were launched
猜你喜欢

H5 liquid animation JS special effect code

mmdetection ValueError: need at least one array to concatenate解决方案

使用命令行安装达梦数据库

p5.js死亡星球

Flink学习5:工作原理

Canvas particles: mouse following JS effect

P5.js death planet

Hot discussion: what are you doing for a meaningless job with a monthly salary of 18000?

I encountered some problems when connecting to the database. How can I solve them?

Constraintlayout Development Guide
随机推荐
ThreadLocal详解
ConstraintLayout(约束布局)开发指南
I earned 3W yuan a month from my sideline: the industry you despise really makes money!
谷歌开始卷自己,AI架构Pathways加持,推出200亿生成模型
Oracle/PLSQL: CharToRowid Function
Reading a book in idea is too much!
canvas粒子篇之鼠标跟随js特效
图论知识及其应用初步调研
Some exception handling for idea plug-in development
Oracle/PLSQL: Cast Function
Addition, deletion, modification and query of ymal file
使用命令行安装达梦数据库
Hibernate generates SQL based on Dialect
Shell脚本系列篇(1) 入门
Detailed explanation of ThreadLocal
D's appendto packaging
YaLM 100B:来自俄罗斯Yandex的1000亿参数开源大模型,允许商业用途
Memcached foundation 10
hibernate 根据方言生成sql
dat.gui.js星星圆圈轨迹动画js特效