当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
flask框架初学-06-对数据库的增删改查
5. Scrapy middleware & distributed crawler
Flink原理流程图简单记录
[QNX Hypervisor 2.2 User Manual] 10.3 vdev gic
持续投入商品研发,叮咚买菜赢在了供应链投入上
实例036:算素数
C# 构造函数业务场景测试项目
P3384 【模板】轻重链剖分/树链剖分
2022广东省安全员A证第三批(主要负责人)考试题库及模拟考试
Small Turtle Compilation Notes
SAP SD模块前台操作
出海季,互联网出海锦囊之本地化
Kubernetes:(十一)KubeSphere的介绍和安装(华丽的篇章)
小甲鱼汇编笔记
[QNX Hypervisor 2.2用户手册]10.3 vdev gic
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
splice随机添加和删除的写法
DHCP服务详解
工程制图平面投影练习
The idea of the diagram