如何扩展Quartz调度程序? [英] How to scale the Quartz scheduler?

查看:184
本文介绍了如何扩展Quartz调度程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划使用 Quartz调度程序,因为我阅读了很多关于它的好意见。

I plan to use the Quartz scheduler as I read many good opinions about it.

我的问题如下:在任何给定时间我都会有数千个触发器存在于系统中。大多数触发器只触发一个事件而死亡。此外,我很可能在分配后取消许多工作(基于新输入)。

My problem is as follows: I will have thousands of triggers living in the system at any given time. Most of the triggers will fire just one event and die. In addition, it is very likely I will have to cancel many jobs after their allocation (based on new input).

Quartz可以扩展到这个吗?建议使用哪个JobStore?我打算在mysql上使用JDBC。

Can Quartz scale to this? Which JobStore is recommended? I planned to use the JDBC one over mysql.

添加信息:我的工作将通过HTTP发送电子邮件或发布数据其他服务(通过广域网)。

Added Information: My jobs will either send an e-mail or post data via HTTP post to other services (over WAN).

推荐答案

常见问题解答中有一些提示和建议:

There are some tips and recommendations in the FAQ:

Quartz能够运行多少个工作?

答案的摘录:


所以,我想说,那里有Quartz的分期付款管理数十万个作业和触发器,并且在任何给定的时刻都在执行数十个作业 - 这不包括使用负载平衡。

So let me just say, there are installments of Quartz out there that are managing hundreds-of-thousands of Jobs and Triggers, and that at any given moment in time are executing dozens of jobs – and this excludes using load-balancing.

在Quartz用户论坛中也有一些讨论,其中包含在相似条件下使用Quartz的开发人员的经验报告。

There is also some discussion in the Quartz Users forum, with experience reports from developers who have used Quartz under similar conditions.


  • 可扩展性&绩效 - Jim Nichols正在运行几千个工作岗位,并通过电子邮件自愿提供更多信息

  • Quartz performance - Stey Baptiste每天运行200万个工作,每秒10个工作

  • Scalability & Performance - Jim Nichols is running a couple of thousand jobs clustered, and volunteers more information by e-mail
  • Quartz performance - Stey Baptiste is running 2 million jobs a day, 10 jobs a second

更新2015-01-12:不幸的是,当论坛移动时,上面列表中的链接中断了,我找不到新的工作链接。无论如何,我会留下链接,以防他们帮助从archive.org或其他地方挖掘信息。官方Quartz论坛现在 Google Groups上的quartz-scheduler

Update 2015-01-12: Unfortunately, the links in the list above broke when the forum was moved, and I'm unable to find new working links. I'll leave the links anyway, in case they help digging out the info from archive.org or elsewhere. The official Quartz forum is now quartz-scheduler on Google Groups.

这篇关于如何扩展Quartz调度程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆