当前位置:网站首页>Simple record of Flink principle flow chart
Simple record of Flink principle flow chart
2022-08-04 02:12:00 【i love meat】
Record some pictures for future review
Yarn-per-job startup flowchart
PRC Flowchart
Akka Actor-based RPC communication system, the core concept is alsoMessage, it is based on coroutines and has good performance: scala-based partial functions, high ease of use,
But it is only RPC communication after all, and cannot be used for data transmission of large packages/streams, so more usage scenarios are stillNetty
Task Scheduling
streamGraph: Concatenates operators according to the order in the client, encapsulating streams and edges.Operators that do not convert data become edges, such as keyBy becomes hash StreamEdgeJobGraph: Optimize multiple operation chains.Multiple StreamNodes may be chained into a JobVertex after optimization.and intermediate datasets with additional vertices
ExecutionGraph: The execution vertices are expanded according to the degree of parallelism, and the intermediate result set becomes multiple intermediate result partitions
The scheduler performs RPC through the gateway to open and schedule real physical execution
Memory Management
Memory Model
JVM metaspace: default 256mbJVM execution overhead: default total memory 0.1 ratioFramework memory: The memory occupied by TaskManager itself is not included in slot resources.The default heap is 128mb inside and outside the heapTask memory: Off-heap memory is not enabled by default, and on-heap memory defaults to none(It is obtained by deducting other memory from Flink memory, that is, all the extra memory belongs to Task memory, Flink memory = total memory - JVM metaspace and execution overhead)Network memory: External memory for network data exchange.The default size is Flink memory ratio 0.1/minimum 64mb/maximum 1GManaged memory: The default Flink memory ratio is 0.4
Memory Data Structures - Memory Segments
Memory management for network transfers
Transfer data: The data enters the local buffer pool, then enters the network buffer pool, and transmits data through the network buffer poolReceive data: the process is reversed
边栏推荐
- (cf)Codeforces Round #811 (Div. 3)A--E详细题解
- Promise solves blocking synchronization and turns asynchronous into synchronous
- esp32 releases robot battery voltage to ros2 (micro-ros+CoCube)
- JS 保姆级贴心,从零教你手写实现一个防抖debounce方法
- 持续投入商品研发,叮咚买菜赢在了供应链投入上
- idea中diagram使用
- 【学习笔记之菜Dog学C】动态内存管理
- Sticker Spelling - Memory Search / Shape Pressure DP
- 各位大佬好,麻烦问一下flink cdc oracle写入doris的时候,发现cpu异常,一下下跑
- 持续投入商品研发,叮咚买菜赢在了供应链投入上
猜你喜欢
Ant - the design of the Select component using a custom icon (suffixIcon attribute) suffixes, click on the custom ICONS have no reaction, will not display the drop-down menu
编写 BOLL 心得体会
小程序:扫码打开参数解析
SAP SD module foreground operation
实例038:矩阵对角线之和
TensoFlow学习记录(二):基础操作
MallBook联合人民交通出版社,推动驾培领域新发展,开启驾培智慧交易新生态
一个注解替换synchronized关键字:分布式场景下实现方法加锁
持续投入商品研发,叮咚买菜赢在了供应链投入上
C program compilation and predefined detailed explanation
随机推荐
第13章 网络安全漏洞防护技术原理与应用
编写 BOLL 心得体会
JS 从零教你手写节流throttle
参加Oracle OCP和MySQL OCP考试的学员怎样在VUE预约考试
flask框架初学-06-对数据库的增删改查
小程序:扫码打开参数解析
Instance, 038: the sum of the diagonal matrix
工程制图平面投影练习
SAP SD module foreground operation
2022 China Computing Power Conference released the excellent results of "Innovation Pioneer"
计算首屏时间
Hey, I had another fight with HR in the small group!
云开发校园微社区微信小程序源码/二手交易/兼职交友微信小程序开源源码
2022焊工(初级)上岗证题目模拟考试平台操作
循环绕过问题
HBuilderX的下载安装和创建/运行项目
Web APIs BOM- 操作浏览器:swiper 插件
Download install and create/run project for HBuilderX
【Untitled】
MallBook联合人民交通出版社,推动驾培领域新发展,开启驾培智慧交易新生态