Hello. What is the optimal number of slots that should be configured in the Flink task manager? is it related to the CPU core in the node?
g
GAURAV MIGLANI
08/23/2023, 1:21 PM
yes it is related more to memory, memory will be divided between slots, so you need to configure as per job pattern(IO intensive or cpu intensive)
GAURAV MIGLANI
08/23/2023, 1:21 PM
cpu will be shared
j
Job Thomas
08/24/2023, 5:54 AM
Thanks, but I have a mixed workload in the cluster. Does the memory is divided equally, what if I have 4 GB and 4 slots in a node? One slot is 1 GB and if other slots are not used does the memory of other slots are shared to slot 1?
g
GAURAV MIGLANI
08/24/2023, 6:20 AM
almost, please exclude some reserved network and flink memory