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

DelayQueue重试优化-完善监控和日志 #177

Merged
merged 8 commits into from
Dec 1, 2023

Conversation

chaisencs123
Copy link

  1. 完善监控和错误日志打印
  2. pullLog遍历的时候,需要copy
  3. batchExecutor队列满了,优化重试逻辑,重试前随机等待
  4. Wheel里的队列满了,catch异常并进行固定等待重试
  5. Wheel里expire逻辑抛Exception或者Error需要catch住

2. pullLog遍历的时候,需要copy
3. batchExecutor队列满了,优化重试逻辑,重试前随机等待
4. Wheel里的队列满了,catch异常并进行固定等待重试
5. Wheel里expire逻辑抛Exception或者Error需要catch住
@bigfish1913
Copy link

bigfish1913 commented Jun 12, 2023 via email

@chaisencs123
Copy link
Author

修复的问题列表如下:

  1. delay queue发送到实时broker失败之后直接夯死
  2. 实时broker的Actor在争夺CPU资源时,当前策略会使得突发性高QPS消息会抢走所有CPU,导致其他所有Actor停滞,进而导致消费者延迟严重增加
  3. pullLog flusher集合遍历并发小问题修复

@keliwang keliwang merged commit 5abc92f into qunarcorp:master Dec 1, 2023
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.

3 participants