-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf: 定时任务全量加载速度优化 #3363
Labels
Comments
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jan 14, 2025
1.更准确地判断Quartz状态; 2.加载任务前增加对Quartz状态的判断,Quartz启动完成后才开始加载任务。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jan 14, 2025
1.添加Quartz关闭插件,收到kill -15信号后立即关闭Quartz,避免后续Spring容器销毁后任务触发使用Bean异常。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jan 14, 2025
1.所有上游服务的负载均衡缓存刷新时间调整为20s(默认35s); 2.调整GracefulShutdown等待时间为30s。
jsonwan
added a commit
to jsonwan/bk-job
that referenced
this issue
Jan 14, 2025
1.优化批量加载定时任务至Quartz过程的性能,避免循环DB查询。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当前加载方式为逐个定时任务单独加载,导致大量的DB查询耗时累加,需要优化为批量处理。
The text was updated successfully, but these errors were encountered: