Ideal number of job workers in Camunda8

Hii ,
I am new to Camunda8 , one thing i am not able to understand , how job workers will increase dynamically ,
For example:
If i have a type of process for which there is a service task suppose “ProcessPayment” , and i have created 500 process instances , in my java application i have defined a worker for this “ProcessPayment” , how will worker execute this 500 ServiceTask. All these process instances at these point (ProcessPayment)
i have found we can do these in two possible ways
1)Blocking. 2)Non-Blocking

zeebe.client.worker.threads=5
For blocking zeebe will create that number of workers i will define and execute them.
first will take for 5 processInstances and complete it based on its capacity it will take execute. Means at any time there can be 5 workers working on 5 “ProcessPayments” task of 5 different processInstances.

For nonBlocking only one broker will execute this service task asynchronusly?

My question is

  1. If we are going to use blocking , how can we get ideal number of brokers required in our configuration.

I am referring these:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.