Hello Chandan, We had a talk a couple days ago during the Ofbiz 2025 days about how to manage a large number of jobs. The basic idea was to split jobs in two: technical jobs than run fast(10-20 seconds), and back jobs that run slow(hours). And have one instance that runs the fast jobs and one instance that runs the slow jobs.
You can find the discussion here starting at minute 1:08:00: https://www.youtube.com/live/KRR1lWZjJHQ And also at the start of this video: <https://www.youtube.com/live/_GzfEhRqm8Q?si=4-3JgH8y6hiC2WHd> On May 30, 2025 1:00:18 PM GMT+03:00, Chandan Khandelwal <chandan.khandel...@hotwaxsystems.com> wrote: >Hello All, > >During recent work with OFBiz involving a large number of background jobs, >I observed a limitation in the current setup: OFBiz supports only a single >global <thread-pool> configuration in serviceengine.xml. > >This makes it challenging to manage and optimize the execution of jobs that >have different resource requirements and priorities. In high-load >scenarios, this can result in lower-priority tasks affecting the >performance of more critical jobs. > >I’m currently exploring this area and would like to understand if others in >the community have faced similar challenges. Any thoughts, experiences, or >suggestions would be helpful. > >Looking forward to your input. > > >Kind Regards, >Chandan Khandelwal Groza Danut