Hi Community,
does it require more resources to have several business processes left "executing" (waiting for a timer condition to be satisfied to do something) or to have a single process scheduled to run every 5 min (i.e) that searches for some record that has a "due date" condition close to the current date time?
the difference would be that the former would be left "pending" for sometime, and the latter would terminate.
Let us know,
Thanks in advance.
Best regards,
Luca
Like
Hi Luca,
The better approach in this case - is to have a single scheduled process that will be executed fastly.
Because each process, that is executing in background mode using 1 thread of quartz worker (Default value = 5 workers). So, if you will start a lot of the background processes, that are executing (waiting for some event) - you can overfill the background processes queue and new background processes will not start correctly until the old processes are not finished and the quartz worker is not free for a new task.
Hi Luca,
The better approach in this case - is to have a single scheduled process that will be executed fastly.
Because each process, that is executing in background mode using 1 thread of quartz worker (Default value = 5 workers). So, if you will start a lot of the background processes, that are executing (waiting for some event) - you can overfill the background processes queue and new background processes will not start correctly until the old processes are not finished and the quartz worker is not free for a new task.