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

Add small jitter timeout to the long poll empty response #6843

Open
yiminc opened this issue Nov 19, 2024 · 0 comments
Open

Add small jitter timeout to the long poll empty response #6843

yiminc opened this issue Nov 19, 2024 · 0 comments

Comments

@yiminc
Copy link
Member

yiminc commented Nov 19, 2024

When matching service restarts, it kills all long poll connections, and SDK would retry them, the new polling request would come almost at the same time, and they would timeout at 60s if there is no tasks. This would result in long poll request rate oscillating at interval of 60s. We could add some short jitter to the long poll timeout to make the requests smooth out faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant