ModelEngine-Group / ModelEngine-Group/app-platform
应用工作流调试页面轮询机制优化
@XinLi-cyber is already working on this.
Since Jun 13, 2025.
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 233
- PR merge metrics
- No merged PRs in 30d
Description
问题摘要 / Issue Summary
工作流调试时的过度轮询对数据库和服务造成压力 / Excessive Polling During Workflow Debugging Causes Database and Service Pressure
版本信息 / Version Information
v1.1.0
浏览器 / Browser
No response
操作系统 / Operating System
None
发生了什么?/ What happened?
应用在进行工作流调试时,会在结束前定时轮询查询接口,在流程较慢或是节点间传递数据量较大的场景下会造成数据库和后端服务的高负载和性能压力
When debugging workflows, the application performs periodic polling of the query interface before the flow ends. In cases where the workflow runs slowly or involves large data transfers between nodes, this polling mechanism may cause high load on the database and backend services, potentially leading to performance degradation or timeouts.
期望的行为 / Expected Behavior
优化应用在工作流调试过程中运行结果的展示机制,考虑通过优化轮询方式或引入新的机制以实时获取节点执行结果,减少对后端资源的压力。
Optimize the result display mechanism during workflow debugging. Consider improving the current polling strategy or introducing a new mechanism to retrieve node execution results in real time, thereby reducing the load on backend resources.
重现步骤 / Steps to Reproduce
- 进入应用编排
- 进入工作流编排
- 点击调试,打开浏览器控制台,可以看到在应用运行结束前会一直调用runtimeinfo查询接口
相关日志 / Relevant Logs
额外信息 / Additional Context
No response
确认事项 / Confirmations
-
我已经搜索了现有的issues,确认这不是重复问题
I have searched existing issues and confirmed this is not a duplicate -
我已经阅读了项目文档和 FAQ
I have read the project documentation and FAQ -
我提供的信息准确完整
The information I provided is accurate and complete -
我愿意协助测试问题修复 (可选)
I'm willing to help test the bug fix (optional)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.