Scheduling jobs in Quartz as a process -


is jobs in quartz executed process or thread?

if executed thread effect performance of quartz scheduler when heavy jobs or time consuming jobs executed.

if please suggest solution.

if execute 10 time consuming jobs simultaneously effect?

i read tutorials didnt find solution. please suggest solution.

thanks.

read documentation regarding configuring thread pool explains how quartz thread pool can suited needs. more org.quartz.threadpool.threadcount configuration property can set according needs documentation explains:

the number of threads available concurrent execution of jobs. can specify positive integer, although numbers between 1 , 100 practical. if have few jobs fire few times day, 1 thread plenty. if have tens of thousands of jobs, many firing every minute, want thread count more 50 or 100 (this highly depends on nature of work jobs perform, , systems resources).

in specific example mentioned regarding 10 jobs firing simultaneously, if have configured above property more 10 threads, each job run concurrently on own thread. otherwise if have configured less, start first, , others wait threads become available. if no threads become available until configured period of time, misfire instructions have set handle action taken, trigger delayed jobs possible configurable setting.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -