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

Push task to confirm thread blocking problem #50

Closed
Synex-wh opened this issue Sep 19, 2019 · 0 comments
Closed

Push task to confirm thread blocking problem #50

Synex-wh opened this issue Sep 19, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@Synex-wh
Copy link
Contributor

Describe the bug

  • In the case of a large amount of pressure data, there is a large number of rejection errors for the pushconfirm push confirmation thread pool.

  • After each sub is pushed, the version is updated one by one to ensure that the push is successful one by one. This process requires each push task to complete the status update. The original method uses the blocking queue acquisition mode, which causes a large number of confirmation tasks to be completed. The timeout situation is serious and all threads cannot be used.

Modify

  • For confirmation that no separate thread is used, use the time wheel to periodically check the confirmation status, and all the confirmations cannot be completed within the time limit, that is, the version is not updated, and the next rotation is continued.
@Synex-wh Synex-wh added the bug Something isn't working label Sep 26, 2019
@dzdx dzdx closed this as completed Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants