On 8/10/2012 7:33 PM, Jacques Le Roux wrote:
From: "Sam Hamilton" <[email protected]>
Thanks for the tips.

Scott I never knew that the jobs worked that way.

Most things depends on DB in OFBiz, so are jobs. They are picked from DB to be run.

The use case I am working towards is where I can scale up and down the amount of OFBiz application servers running depending on load i.e. number of visitors on the website and I was trying to totally automate the scaling process. Is there anyway to reassign
queued >jobs assuming that a server will never come back into the pool?

Adrian is working/has worked on similar things recently. Not with the automates scaling process but I think with overhaul Jacopo and Adrian did recently and Brett's ideas to introduce JMS queues (see http://markmail.org/message/m7siuv7stkvv7nh6) this should be
possible. Not OOTB of course, but we have never been closest...

I have an update for the Job Scheduler that will dequeue any queued jobs when the server shuts down. Other servers should pick up the dequeued jobs - so no extra work will be necessary.

-Adrian

Reply via email to