Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
05b2a60c
authored
Jul 03, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
默认quartz线程数调整为50
parent
ff4378e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
doc/XXL-JOB官方文档.md
xxl-job-admin/src/main/resources/quartz.properties
doc/XXL-JOB官方文档.md
View file @
05b2a60c
## 《分
布式任务调度平台XXL-JOB》
## 《分
布式任务调度平台XXL-JOB》
...
@@ -701,7 +701,7 @@ org.quartz.jobStore.clusterCheckinInterval: 1000
...
@@ -701,7 +701,7 @@ org.quartz.jobStore.clusterCheckinInterval: 1000
```
```
org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount:
15
org.quartz.threadPool.threadCount:
50
org.quartz.threadPool.threadPriority: 5
org.quartz.threadPool.threadPriority: 5
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread: true
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread: true
```
```
...
@@ -717,7 +717,7 @@ XXL-JOB调度中心中每个JOB逻辑非常 “轻”,单个JOB一次运行平
...
@@ -717,7 +717,7 @@ XXL-JOB调度中心中每个JOB逻辑非常 “轻”,单个JOB一次运行平
理论上采用推荐机器配置 "4核4G内存" + "配置1s运行1次密集任务" + "调度中心与执行器ping延迟10ms(0.01s)" 的情况下,
理论上采用推荐机器配置 "4核4G内存" + "配置1s运行1次密集任务" + "调度中心与执行器ping延迟10ms(0.01s)" 的情况下,
- 单线程支撑任务量 :1 / 1 * 0.01 = 100个任务
- 单线程支撑任务量 :1 / 1 * 0.01 = 100个任务
-
15个线程支撑任务量:15 / 1 * 0.01 = 15
00个任务
-
50个线程支撑任务量:50 / 1 * 0.01 = 50
00个任务
实际场景中,由于调度中心与执行器ping延迟不同、DB读写耗时不同、任务调度密集程度不同,会导致任务量上限会上下波动。
实际场景中,由于调度中心与执行器ping延迟不同、DB读写耗时不同、任务调度密集程度不同,会导致任务量上限会上下波动。
...
@@ -1235,6 +1235,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
...
@@ -1235,6 +1235,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
-
16、任务报表成功、失败和进行中统计问题修复;
-
16、任务报表成功、失败和进行中统计问题修复;
-
17、自研Log组件参数占位符改为"{}",并修复打印有参日志时参数不匹配导致报错的问题;
-
17、自研Log组件参数占位符改为"{}",并修复打印有参日志时参数不匹配导致报错的问题;
-
18、核心依赖Core内部国际化处理;
-
18、核心依赖Core内部国际化处理;
-
19、默认Quartz线程数调整为50;
### TODO LIST
### TODO LIST
...
...
xxl-job-admin/src/main/resources/quartz.properties
View file @
05b2a60c
...
@@ -10,7 +10,7 @@ org.quartz.scheduler.rmi.proxy: false
...
@@ -10,7 +10,7 @@ org.quartz.scheduler.rmi.proxy: false
org.quartz.scheduler.wrapJobExecutionInUserTransaction
:
false
org.quartz.scheduler.wrapJobExecutionInUserTransaction
:
false
org.quartz.threadPool.class
:
org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.class
:
org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount
:
15
org.quartz.threadPool.threadCount
:
50
org.quartz.threadPool.threadPriority
:
5
org.quartz.threadPool.threadPriority
:
5
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread
:
true
org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread
:
true
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment