Hi community,

According to the [docs](
https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/deployment/config/
):

> taskmanager.numberOfTaskSlots: The number of slots that a TaskManager
offers *(default: 1)*. Each slot can take one task or pipeline. Having
multiple slots in a TaskManager can help amortize certain constant
overheads (of the JVM, application libraries, or network connections)
across parallel tasks or pipelines. See the Task Slots and Resources
<https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/concepts/flink-architecture/#task-slots-and-resources>
 concepts section for details.

> Running more smaller TaskManagers with one slot each is a good starting
point and leads to the best isolation between tasks. Dedicating the same
resources to fewer larger TaskManagers with more slots can help to increase
resource utilization, at the cost of weaker isolation between the tasks
(more tasks share the same JVM).

We're able to tune slot count by setting taskmanager.numberOfTaskSlots,
that may help parallelize my task.

I wonder if I can tune the number of task managers? Is there a
corresponding config?

Best,
Yik San

Reply via email to