Re: Multiple Thread Pools in OFBiz

2025-06-04 Thread Chandan Khandelwal
Thank you, Groza, Nicolas, and Gil, for your input. Groza suggested using multiple OFBiz instances, each dedicated to handling specific types of job executions. However, I’m considering a different approach, using a single OFBiz instance with multiple thread pools, each configured with defined thr

Re: Multiple Thread Pools in OFBiz

2025-06-02 Thread gil.portenseigne
Hello, To complete Nicolas answer we had dev but no yet contributed a new parameters on service definition : That offer a way to easily plan a service to a specific pool when using dispatcher.runAsync("bigService", reqMap, true). But like Nicolas said, we can do more. If you need the co

Re: Multiple Thread Pools in OFBiz

2025-05-30 Thread Nicolas Malin
Hey, Thanks Danut for the sharing, I hope Chandan this will be useful for you. The service engine on job manager part can but receive some good improvement to improve it capacity to support high load. We already share with my colleague Gil how we can improve it, however we didn't share and s

Re: Multiple Thread Pools in OFBiz

2025-05-30 Thread Groza Danut
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 i

Multiple Thread Pools in OFBiz

2025-05-30 Thread Chandan Khandelwal
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 configuration in serviceengine.xml. This makes it challenging to manage and optimize the execution of jobs that have different r