当前位置:网站首页>Flink learning 1: Introduction
Flink learning 1: Introduction
2022-06-27 02:07:00 【hzp666】
flink Catalog :


1. Traditional data processing mode :
1.1 Central database schema


The central database is heavily loaded , And once the central database has problems , All business systems will crash
1.2 lamda Data warehouse mode


however lamda Data warehouse of mode , Generally, relational database is used , Can not meet the storage of massive data

1.3 be based on Hadoop Of hdfs Built lamda Data warehouse mode

To some extent, it solved , Different calculation modes ( Real time and offline ) Business needs .

however , This flow batch mode , It is equivalent to real-time and offline architectures , Lead to High complexity and operation and maintenance cost .
1.4 Stream processing based pattern

Stream processing architectures are generally divided into 2 part , Message transmission layer ( Responsible for collecting new data and Push data ) and Stream processing layer ( Responsible for data conversion and processing )

The general framework of stream processing

flink There is no central database , And stream processing naturally supports batch processing ( No longer need two real-time and offline architectures )

2.flink Introduction to
2.1 flink Characteristics






flink The advantages of :
2.2 flink The advantages of :
2.2.1 Streaming window :
Among them the first 3 A highly flexible streaming window
Because there is no end in streaming data , You can't calculate directly , therefore flink Put forward , The concept of windows :

The concept of windows 
The classification of windows :

2.2.2 The state of streaming computing :

Stateful means that the state of each event is recorded :

2.2.3 Good fault tolerance
How to ensure distributed systems , Consistency of all nodes


flink Keep creating snapshots , To compare data consistency 
2.2.4 High performance memory management
because java There will be some problems in memory management , therefore flink Created your own memory management


flink How to manage memory by yourself
Sequence and deserialize all objects , Store... In memory

Serialize storage memory , The benefits of doing this :
2.2.5 Support iteration and incremental iteration
Iteration here refers to : The result of each iteration , To the next iteration
Incremental iteration : The next iteration only needs , Calculate part of the data of the last iteration , perhaps Only part of the data set from the last iteration needs to be updated




边栏推荐
- Sample development of WiFi IOT Hongmeng development kit
- Oracle/PLSQL: Translate Function
- DAMA、DCMM等数据管理框架各个能力域的划分是否合理?有内在逻辑吗?
- three. JS domino JS special effect
- Would rather go to 996 than stay at home! 24 years old, unemployed for 7 months, worse than work, no work
- Oracle/PLSQL: VSize Function
- lottie. JS creative switch button animal head
- Oracle/PLSQL: Trim Function
- 别被洗脑了,这才是90%中国人的工资真相
- Oracle/PLSQL: From_Tz function
猜你喜欢

Summary of config mechanism and methods in UVM (2)

速看!2022年6月编程语言排行榜出炉!第一名太牛啦

Flink学习1:简介

热议:月薪1.8万却毫无意义的工作,你干吗?

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

WiFi-IoT 鸿蒙开发套件样例开发

Browser cache

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

我靠副业一个月挣了3W块:你看不起的行业,真的很挣钱!

dat. gui. JS star circle track animation JS special effect
随机推荐
Simply learn the entry-level concepts of googlecolab
Memcached foundation 10
C语言--职工信息管理系统设计
Dameng database installation
为什么先划分训练集和测试集后归一化?
执念斩长河暑期规划
Uninstallation of Dameng database
UVM in reporting classes_ report_ Get of server_ severity_ Count and get_ Server usage
【系统分析师之路】第六章 复盘需求工程(案例论文)
C# Tcp服务器如何限制同一个IP的连接数量?
Oracle/PLSQL: Ltrim Function
达梦数据库安装
Why pass SPIF_ Sendchange flag systemparametersinfo will hang?
Oracle/PLSQL: Substr Function
SystemVerilog simulation speed increase
Cookie, sessionstorage, localstorage differences
1.44 inch TFT-LCD display screen mold taking tutorial
Memcached basics 13
I encountered some problems when connecting to the database. How can I solve them?
Memcached foundations 12