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

chore: add keepalive time and keepalive timeout for grpc external processor #23

Merged
merged 7 commits into from
Apr 15, 2024

Conversation

mayankrai09
Copy link

@mayankrai09 mayankrai09 commented Aug 29, 2023

Adding capabilities to configure keepalive_time and keepalive_timeout for grpc external post-processor.

Linux by default has a mechanism to detect less-clean failure (half-open connection) with net.ipv4.tcp_retries2. This has a default value of 15. Only when that number is reached, the OS will forcefully terminate the “half-open” connection and force the connection to be recreated.

keepalive_time and keepalive_timeout helps early identify half-open connection.

@mayankrai09 mayankrai09 merged commit b19b5a4 into main Apr 15, 2024
3 checks passed
@mayankrai09 mayankrai09 deleted the chore/keepalive branch April 15, 2024 06:58
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.

5 participants