Select node in Quartz cluster to execute a job

前端 未结 2 1066
不思量自难忘°
不思量自难忘° 2020-12-06 06:00

I have some questions about Quartz clustering, specifically about how triggers fire / jobs execute within the cluster.

  1. Does quartz give any preference to no

2条回答
  •  星月不相逢
    2020-12-06 06:24

    I solved this question for my web application using Spring + AOP + memcached. My jobs do know from the data they traverse if the job has already been executed, so the only thing I need to avoid is two or more nodes running at the same time.

    You can read it here:

    http://blog.oio.de/2013/07/03/cluster-job-synchronization-with-spring-aop-and-memcached/

提交回复
热议问题