-
Notifications
You must be signed in to change notification settings - Fork 51
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
[FEATURE] 同步插件进程状态优化 #1887
Comments
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Oct 27, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Oct 27, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 2, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 2, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 2, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 2, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 2, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 2, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 3, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 3, 2023
Huayeaaa
added a commit
to Huayeaaa/bk-nodeman
that referenced
this issue
Nov 3, 2023
ZhuoZhuoCrayon
pushed a commit
that referenced
this issue
Nov 6, 2023
ping15
pushed a commit
to ping15/bk-nodeman
that referenced
this issue
Nov 15, 2023
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景
现在先遍历业务,再分页异步查询的逻辑,在业务数量多(> 3000)的情况下,会产生非常多的 celery 任务和第三方请求,这里需要做个优化,对业务列表进行分批,比如之前是
1,2,3,4
遍历四次,现在设置窗口为 2,改为[1, 2]、[3, 4]
遍历 2 次在实际代码中,窗口大小设置为
15
功能
对查询的业务进行分片
功能实现
建议的方案
分片逻辑:
apps.utils.basic.chunk_lists
熟悉
python manage.py sync_plugin_status
命令实现方案
功能自测
功能点 1
描述代码变更涉及功能点及自测截图
功能点 2
描述代码变更涉及功能点及自测截图
...
The text was updated successfully, but these errors were encountered: