当前位置:网站首页>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边栏推荐
- Snake game bug analysis and function expansion
- FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
- 【原创】启动Win10自带的XPS/OXPS阅读器
- priority_queue元素为指针时,重载运算符失效
- Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain
- 董明珠直播时冷脸离场,员工频犯低级错误,自家产品没人能弄明白
- 2022年茶艺师(中级)考试试题模拟考试平台操作
- C program compilation and predefined detailed explanation
- 5.scrapy中间件&分布式爬虫
- Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
猜你喜欢
随机推荐
APP电商如何快速分润分账?
【原创】启动Win10自带的XPS/OXPS阅读器
html select tag assignment database query result
云开发旅游打卡广场微信小程序源码(含视频教程)
5.scrapy中间件&分布式爬虫
Hey, I had another fight with HR in the small group!
小甲鱼汇编笔记
Flask Framework Beginner-05-Command Management Manager and Database Use
- heavy OpenCV 】 【 mapping
Dong mingzhu live cold face away, when employees frequency low-level mistakes, no one can understand their products
实例040:逆序列表
C程序编译和预定义详解
MySQL高级-读写分离-分库分表
工程制图平面投影练习
贪吃蛇游戏Bug解析及功能扩展
LeetCode:899. 有序队列【思维题】
halcon自定义函数基本操作
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
sql有关问题,小时粒度,找到前一个小时内的数据
Variable string








