ylliX - Online Advertising Network
Vertex AI - Antrophic and Mistral models: Why does it require Imegen access?

About flink application request numbers of slot when startup and runtime are difference question?


I found that when flink application start,the number of slots request is SUM(Maximum parallelism of each task), but when the application is running, the number of slots request is JobManager(1) + Maximum parallelism of all task.

Slot example picture
For example if there are three tasks, the parallelism of task1(source/map) is 2, the parallelism of task2(keyby/window/apply) is 2, the parallelism of task3(sink) is 1.
The number of slots request is 5 when application is starting, the number of slots request is 3 when application is running.

That means the number of slots required when startup bigger than the Number of slots required for application running. This design, the hardware resources will be wasted.

My question is that:

  1. why flink design this mechanism for slots?
  2. Does the new flink version improve this mechanism?
  3. How could we save hardware for the current version.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *