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

rpc timeout when load increases on kubernetes cluster #128

Open
kksuen opened this issue Apr 9, 2020 · 0 comments
Open

rpc timeout when load increases on kubernetes cluster #128

kksuen opened this issue Apr 9, 2020 · 0 comments

Comments

@kksuen
Copy link

kksuen commented Apr 9, 2020

I am doing load testing on kubernetes cluster and found that when it reaches certain load, all request after that will fail with Timeout waiting for RPC response. This happens after 2 mins of waiting.
After some search found out that there's a setting in ocr_rpc_client.go.
RPC_RESPONSE_TIMEOUT = time.Second * 120

Can this be changed in without re-compiling the docker image or is there a problem with the setup of kubernetes or is there a problem' with the underlying codes?

If i understand correctly all the worker threads/pods wiff process all the queue request without and returns the result to the httpd and in turn returns the response to the user. I think 2 mins is a bit short.

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

No branches or pull requests

1 participant