Page 1 of 1

batch processors.

PostPosted: Fri Jul 30, 2010 1:02 pm
by rmidata
Hi!
We are beginning to use batch processors and everything works great, but my question is:
How it affects the performance of the server if every 7 seconds restart the work, as it says in the example of batchprocessor1. It is possible to reset the list of jobs in such a short time.
Thank you.
Roberto Diez.
Interdata Software.
SAN Partner
Santa Fe - Argentina.

Re: batch processors.

PostPosted: Fri Jul 30, 2010 3:24 pm
by Foobrother
It really depends on what you do when you reset your job and how many jobs you have.
If your jobs are scheduled to run once a day at a specific time, for example, it will almost not affect the performance of the server as it just reset the jobs list.

Note that resetting jobs every 7 sec is only needed if you expect users to add new jobs very very frequently!

Re: batch processors.

PostPosted: Fri Jul 30, 2010 5:04 pm
by sbutler
If you have it running every 7 seconds, and each job takes 10 seconds to run, then you'll have a problem. It will neve run as often as you want and you end up with a back log. If the job takes less than 7 seconds, then you will be fine.

If you want the best of both worlds, use a batch processor with the new Headless Client plugin. so the batch processor finds the jobs that need to be ran, and spawns a new headless client for each job. So you can handle multiple jobs simultaneously.