当前位置:网站首页>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边栏推荐
- In a more general sense, calculating the displacement distance and assumptions
- 香港服务器有哪些常用的型号
- Sky map coordinate system to Gaode coordinate system WGS84 to GCJ02
- DDTL:远距离的域迁移学习
- initramfs详解----添加硬盘驱动并访问磁盘
- web端动效 lottie-web 使用
- 实例037:排序
- Slipper - virtual point, shortest path
- Download install and create/run project for HBuilderX
- 第13章 网络安全漏洞防护技术原理与应用
猜你喜欢
随机推荐
C语言力扣第54题之螺旋矩阵。模拟旋转
出海季,互联网出海锦囊之本地化
priority_queue元素为指针时,重载运算符失效
Snake game bug analysis and function expansion
参加Oracle OCP和MySQL OCP考试的学员怎样在VUE预约考试
【学习笔记之菜Dog学C】动态内存管理
脚手架内容详解分析
IDEA02:配置SQL Server2019数据库
MallBook联合人民交通出版社,推动驾培领域新发展,开启驾培智慧交易新生态
Flask框架初学-05-命令管理Manager及数据库的使用
initramfs详解----添加硬盘驱动并访问磁盘
JS 保姆级贴心,从零教你手写实现一个防抖debounce方法
idea中diagram使用
Sky map coordinate system to Gaode coordinate system WGS84 to GCJ02
this巩固训练,从两道执行题加深理解闭包与箭头函数中的this
深度学习(三)分类 理论部分
[QNX Hypervisor 2.2 User Manual] 10.3 vdev gic
实例038:矩阵对角线之和
Priority_queue element as a pointer, the overloaded operators
0.1 前言









