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

边栏推荐
- Constraintlayout Development Guide
- 我靠副业一个月挣了3W块:你看不起的行业,真的很挣钱!
- Oracle/PLSQL: Lpad Function
- Why divide the training set and the test set before normalization?
- Oracle/PLSQL: Rtrim Function
- Oracle/PLSQL: Lower Function
- Summer planning for the long river
- Oracle/PLSQL: Translate Function
- TechSmith Camtasia最新2022版详细功能讲解下载
- Parameter transfer method between two pages
猜你喜欢

mmdetection 用yolox训练自己的coco数据集

执念斩长河暑期规划

ConstraintLayout(约束布局)开发指南

Parameter estimation -- Chapter 7 study report of probability theory and mathematical statistics (point estimation)

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

SQLite Reader 插件测试SQLite语法

"All majors are persuading them to quit." is it actually the most friendly to college students?

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

Flink学习1:简介

我靠副业一个月挣了3W块:你看不起的行业,真的很挣钱!
随机推荐
Oracle/PLSQL: Lpad Function
C语言--职工信息管理系统设计
ThreadLocal详解
Canvas particles: mouse following JS effect
Oracle/PLSQL: Cast Function
mmdetection ValueError: need at least one array to concatenate解决方案
Oracle/PLSQL: Trim Function
get_ Usage Summary of sequencer
dat. gui. JS star circle track animation JS special effect
Yalm 100b: 100billion parameter open source large model from yandex, Russia, allowing commercial use
SQLite reader plug-in tests SQLite syntax
three.js多米诺骨牌js特效
Summary of config mechanism and methods in UVM (2)
Memcached foundation 9
谷歌开始卷自己,AI架构Pathways加持,推出200亿生成模型
memcached基礎12
二叉树oj题目
Oracle/PLSQL: Translate Function
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
Microsoft365开发人员申请