1

目前系统用Quartz再调度定时任务,单机,有几千个任务,整点时会有几百个并发,调度不...

 2 years ago
source link: https://www.oschina.net/question/3141537_2324950
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

目前系统用Quartz再调度定时任务,单机,有几千个任务,整点时会有几百个并发,调度不过来

NaviaJin 发布于 昨天 13:29
阅读 189

目前系统用Quartz再调度定时任务,单节点,有几千个任务,整点时会有几百个并发,调度不过来。

总有一部分任务会延迟20-30秒才被调度,请问有什么解决方案吗?Quartz集群可以解决这个问题吗?

以下是问题补充:

@NaviaJin:目前线程设置是200,看到quartz的文档说的是超过100的话意义就不大了。内存堆16g,新生代8g。硬件应该问题不大。调度的任务是在其他模块,不在quartz,quartz只负责触发 (今天 13:52)

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK