如何扩展 Quartz 调度程序?
我计划使用 Quartz 调度程序,因为我读到了很多关于它的好意见。
我的问题如下:在任何给定时间,系统中都会有数千个触发器。 大多数触发器只会触发一个事件并消失。 此外,我很可能不得不在分配后取消许多工作(基于新的输入)。
Quartz 可以扩展到这个程度吗? 推荐哪个JobStore? 我计划使用 JDBC 而不是 mysql。
添加信息:我的作业将发送电子邮件或通过 HTTP 发布将数据发布到其他服务(通过 WAN)。
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).
Can Quartz scale to this? Which JobStore is recommended? I planned to use the JDBC one over mysql.
Added Information: My jobs will either send an e-mail or post data via HTTP post to other services (over WAN).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
常见问题解答中有一些提示和建议:
Quartz 能够运行多少个作业?
答案摘录:
Quartz Users 论坛中也有一些讨论,其中有在类似条件下使用过 Quartz 的开发人员的经验报告。
更新 2015-01-12: 不幸的是,上面列表中的链接论坛移动后崩溃了,我无法找到新的工作链接。 无论如何,我都会留下链接,以防它们帮助从 archive.org 或其他地方挖掘信息。 Quartz 官方论坛现为 Google 网上论坛上的 quartz-scheduler。
There are some tips and recommendations in the FAQ:
How many jobs is Quartz capable of running?
An excerpt from the answer:
There is also some discussion in the Quartz Users forum, with experience reports from developers who have used Quartz under similar conditions.
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.