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
cache etcd client on readyz #797
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tjungblu The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
TODO figure out the reconnect behaviour of GRPC: https://stackoverflow.com/questions/56067076/grpc-connection-management-in-golang |
the health check also seems to reuse the client already: cluster-etcd-operator/pkg/cmd/monitor/monitor.go Lines 210 to 224 in 7373143
|
/retest-required |
1 similar comment
/retest-required |
increase in CPU usage from https://bugzilla.redhat.com/show_bug.cgi?id=2076831 |
/retest-required |
@tjungblu: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/hold probably worth refactoring with the changes from #801 |
closing this in favour of #801 where the caching is properly implemented |
Ran this with 5000 QPS in parallel with 12 threads using vegeta without issues. Also reconnects automatically when etcd goes down, which is great.
pprof also shows no TLS handshake hotpath anymore.