当前位置:网站首页>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边栏推荐
猜你喜欢

织梦响应式酒店民宿住宿类网站织梦模板(自适应手机端)

2022G1工业锅炉司炉考试练习题及模拟考试

flask框架初学-06-对数据库的增删改查

html select标签赋值数据库查询结果

Zabbix set up email alert + enterprise WeChat alert

- heavy OpenCV 】 【 mapping

Example 035: Setting the output color

Use of lombok annotation @RequiredArgsConstructor

持续投入商品研发,叮咚买菜赢在了供应链投入上

Dong mingzhu live cold face away, when employees frequency low-level mistakes, no one can understand their products
随机推荐
工程制图复习题(带答案)
sql有关问题,小时粒度,找到前一个小时内的数据
脚手架内容详解分析
html select标签赋值数据库查询结果
实例040:逆序列表
实例037:排序
2022.8.3-----leetcode.899
简单排序(暑假每日一题 14)
QNX Hypervisor 2.2用户手册]10.2 vdev 8259
esp32 releases robot battery voltage to ros2 (micro-ros+CoCube)
Security First: Tools You Need to Know to Implement DevSecOps Best Practices
2022焊工(初级)上岗证题目模拟考试平台操作
第13章 网络安全漏洞防护技术原理与应用
pytorch应用于MNIST手写字体识别
织梦响应式酒店民宿住宿类网站织梦模板(自适应手机端)
C# 构造函数业务场景测试项目
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
简单的线性表的顺序表示实现,以及线性表的链式表示和实现、带头节点的单向链表,C语言简单实现一些基本功能
【原创】启动Win10自带的XPS/OXPS阅读器
P3384 【模板】轻重链剖分/树链剖分