[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Information on threads  XML
Forum Index -> Quartz
Author Message
jeichels

neo

Joined: 12/07/2009 14:04:35
Messages: 2
Offline

We have a strange requirement for Quartz perhaps.

We require a stop-gap solution for a specific problem we are facing in one of our systems came up with an odd solution that would require us to set a high limit on the number of Quartz threads/jobs able to run.

Has anybody ever run with nearly 300 Quartz threads active? How might Quartz run in this situation?

Environment: Two clustered Oracle app servers.

John Eichelsdorfer
jhouse

seraphim
[Avatar]
Joined: 11/06/2009 15:29:56
Messages: 1703
Offline


Yes, a number of users run with 200 to 500 worker threads.

How this behaves depends a lot on the nature of your jobs. If they are short-lived jobs (i.e. their execution only takes a second), then such a number of threads will cause serious lock contention in the Quartz internals (locks around the integrity of the job/trigger data). But if the jobs take a while to run, and particularly if they perform blocking operations (e.g. network i/o) then you are likely to benefit from a large number of threads.

Experimentation with your particular setup and jobs will probably be key to finding the "sweet spot".
jeichels

neo

Joined: 12/07/2009 14:04:35
Messages: 2
Offline

Thanks, James. We may need to give you a call again on this at some point after the holidays.

John @ ert
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team