cancel
Showing results for 
Search instead for 
Did you mean: 

Job Prioritization for Asynchronous Processing at Scale

kaushikmondal
Champ in-the-making
Champ in-the-making
Hi,

During load test I have observed that the job executor and its thread pool is getting  overloaded and taking time to process the existing jobs and reduce the queue size to a manageable portion again. Now In a large set of pending jobs, some jobs may be more important than others. And we want to have some kind of priority based mechanism  ACTIVITI we would be able to assign some priority during process instance creation and then job executor would execute the job based on the priority. Are you planning to implement something similar in near future?

I saw something similar in CAMUNDA.
https://blog.camunda.org/post/2015/08/job-prioritization-asynchronous-processing/


FYI: I am using ACTIVITI 5.19.0.1 and DefaultJobExecutor.


1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Which job executor are you talking about? Did you give the Async Executor a try, as it's way more performant and tweakable compared to the old job executor?

We don't have a priority based mechanism in the engine right now.