Skip to content
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(web ui):keep alive consumer #2325

Merged
merged 2 commits into from
Oct 28, 2022
Merged

Conversation

xudaotutou
Copy link
Contributor

原版

  • null loop <-> loop for async
  • 全局挂载轮询的变量只有这两个状态
  • pull_results轮询需要的启动依赖于异步的行为,比如dashboard
  • 当长期不使用这类异步的命令,consumer会失活,只能让用户手动重新init session

新版

  • null loop <-> loop for keep alive <-> loop for async
  • 全局挂载轮询的变量多了一个中间的状态
  • init session了以后会处于该状态,每隔一段较长的时间pull_results

@hengyunabc hengyunabc added this to the 3.6.7 milestone Oct 28, 2022
@hengyunabc hengyunabc merged commit 18e8f6b into alibaba:master Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants