当前位置:网站首页>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
边栏推荐
- web端动效 lottie-web 使用
- 小甲鱼汇编笔记
- Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
- Small Turtle Compilation Notes
- 多线程 之 JUC 学习篇章一 创建多线程的步骤
- Zabbix设置邮件告警+企业微信告警
- There are n steps in total, and you can go up to 1 or 2 steps each time. How many ways are there?
- Qt中对象树的机制介绍以及底层实现,各种结果分析:(以及自己写容易犯错的点)
- splice随机添加和删除的写法
- QNX Hypervisor 2.2 user manual] 10.1 gm vdev options
猜你喜欢
Flask Framework Beginner-05-Command Management Manager and Database Use
脚手架内容详解分析
Small Turtle Compilation Notes
priority_queue元素为指针时,重载运算符失效
实例040:逆序列表
Zabbix设置邮件告警+企业微信告警
2022 China Computing Power Conference released the excellent results of "Innovation Pioneer"
Parquet encoding
Example 040: Reverse List
Slipper - virtual point, shortest path
随机推荐
Instance, 038: the sum of the diagonal matrix
HBuilderX的下载安装和创建/运行项目
Taurus.MVC WebAPI 入门开发教程1:框架下载环境配置与运行(含系列目录)。
2022焊工(初级)上岗证题目模拟考试平台操作
JS 保姆级贴心,从零教你手写实现一个防抖debounce方法
Oracle迁移到瀚高之后,空值问题处理
Example 040: Reverse List
Priority_queue element as a pointer, the overloaded operators
Kubernetes:(十一)KubeSphere的介绍和安装(华丽的篇章)
C语言力扣第54题之螺旋矩阵。模拟旋转
esp32 releases robot battery voltage to ros2 (micro-ros+CoCube)
Example 035: Setting the output color
浏览器存储
天地图坐标系转高德坐标系 WGS84转GCJ02
DDTL: Domain Transfer Learning at a Distance
MallBook联合人民交通出版社,推动驾培领域新发展,开启驾培智慧交易新生态
html select标签赋值数据库查询结果
Engineering drawing review questions (with answers)
【学习笔记之菜Dog学C】动态内存管理
Flask Framework Beginner-05-Command Management Manager and Database Use