当前位置:网站首页>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.4Memory 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边栏推荐
- 工程制图复习题(带答案)
- 【原创】启动Win10自带的XPS/OXPS阅读器
- 实例035:设置输出颜色
- 关联接口测试
- 阿里云国际版基于快照与镜像功能迁移云服务器数据
- Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
- Web APIs BOM - operating browser: swiper plug-in
- - heavy OpenCV 】 【 mapping
- LeetCode:899. 有序队列【思维题】
- 云开发校园微社区微信小程序源码/二手交易/兼职交友微信小程序开源源码
猜你喜欢
随机推荐
Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain
网页三维虚拟展厅为接入元宇宙平台做基础
In a more general sense, calculating the displacement distance and assumptions
Oracle迁移到瀚高之后,空值问题处理
SAP SD module foreground operation
FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
Hey, I had another fight with HR in the small group!
MallBook 助力SKT思珂特教育集团,立足变化,拥抱敏捷交易
C语言:学生管理系统(链表版)
activiti流程执行过程中,数据库表的使用关系
关联接口测试
TensoFlow学习记录(二):基础操作
Flask Framework Beginner-06-Add, Delete, Modify and Check the Database
工程制图复习题
工程制图复习题(带答案)
持续投入商品研发,叮咚买菜赢在了供应链投入上
html select tag assignment database query result
第08章 索引的创建与设计原则【2.索引及调优篇】【MySQL高级】
小甲鱼汇编笔记
Download install and create/run project for HBuilderX









