如何做到“大规模”作业调度(石英?)
我有一个与石英调度框架相关的一般问题:
我需要在用户注册后的固定时间后执行任务。为了简单起见,我们假设用户在我的系统中注册后正好 1 小时。这项工作必须完成,即使系统在这一小时内重新启动,也必须记住该任务,并且如果我的系统在平常时间关闭,则必须稍后执行该任务。
这是我可以使用或可以使用 Quartz 的地方吗?我研究了看起来很有前途的持久性工作,但我不确定这是否仍然适用于每天 1000 个工作。此外,我不确定对性能的影响。也许有人可以在这里帮助我提供信息。
如果 Quartz 不是正确的选择,您认为还有哪些其他方法/框架可以解决此问题?我的应用程序是一个基于 Java 6/Spring 3 的 Web 应用程序。
感谢您的帮助!
I have a general question related to the quartz scheduling framework:
I need to perform a task after a fixed amount of time after a user registration. For the sake of simplicity let's say exactly 1 hour after registration of a user in my system. The job MUST be done, even if the system is restarting during this one hour the task must be remembered and it MUST be performed later if my system is down at the usual time.
Is this something where I can or where I would use Quartz? I looked at persistent jobs which looks quite promising but I am not sure if this will still work out for 1000 jobs a day. Furthermore, I am not sure about the performance implications. Maybe someone can help me with information here.
If Quartz is not the right choice, which other ways/frameworks do you see for this issue? My application is a Java 6/Spring 3 based Web-App.
Thanks for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们在生产环境中成功地将quartz持久作业存储用于正在运行数百个作业的SaaS平台应用程序。
We are using quartz persisted job store successfully in our production environment for a SaaS platform application where 100s of jobs are running.