apidly when the scale goes up.</p>
<center>
<br/>
<img src="/img/blog/2022-01-05-scheduler-performance/1-distribution-pattern.svg" width="75%"/>
<br/>
Fig. 1 - Two distribution patterns in Flink
</center>
<br/>
<p>In Flink 1.12, the <a href="//nightlies.apache.org/flink/flink-docs-release-1.12/api/java/org/apache/flink/runtime/executiongraph/ExecutionEdge.html">ExecutionEdge</a> class is used to store the information of connections between tasks. This means that for the all-to-all distribution pattern, ther