Quartz Scheduler Configuration Guide : TerracottaJobStore Configuration
TerracottaJobStore Configuration
TerracottaJobStore is used to store scheduling information (job, triggers and calendars) within a Terracotta server.
TerracottaJobStore is much more performant than utilizing a database for storing scheduling data (via JDBC-JobStore), and yet offers clustering features such as load-balancing and fail-over.
You may want to consider implications of how you setup your Terracotta server, particularly configuration options that turn on features such as storing data on disk, utilization of fsync, and running an array of Terracotta servers for HA.
The clustering feature works best for scaling out long-running and/or CPU-intensive jobs (distributing the work-load over multiple nodes). If you need to scale out to support thousands of short-running (e.g., one second) jobs, consider partitioning the set of jobs by using multiple distinct schedulers. Using one scheduler currently forces the use of a cluster-wide lock, a pattern that degrades performance as you add more clients.
TerracottaJobStore is selected by setting the org.quartz.jobStore.class property as shown below:
org.quartz.jobStore.class = org.terracotta.quartz.TerracottaJobStore
TerracottaJobStore can be tuned with the following properties:
Property Name
Required
Type
Default Value
org.quartz.jobStore.tcConfigUrl
yes
string
org.quartz.jobStore.misfireThreshold
no
int
60000
org.quartz.jobStore.tcConfigUrl
The host and port identifying the location of the Terracotta server to connect to, such as "localhost:9510".
org.quartz.jobStore.misfireThreshold
The number of milliseconds the scheduler will allow a trigger to pass its next-fire-time by before being considered misfired. The default value (if you don't make an entry of this property in your configuration) is 60000 (60 seconds).
Copyright © 2010-2016 Software AG, Darmstadt, Germany.

Product Logo |   Feedback