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

[FEATURE] Add rpc queued time and rpc process time. #1644

Open
3 tasks done
zhengchenyu opened this issue Apr 15, 2024 · 1 comment
Open
3 tasks done

[FEATURE] Add rpc queued time and rpc process time. #1644

zhengchenyu opened this issue Apr 15, 2024 · 1 comment
Assignees

Comments

@zhengchenyu
Copy link
Collaborator

zhengchenyu commented Apr 15, 2024

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the feature

When I perform a stress test on the cluster, tasks occasionally encounter errors like this:

Caused by: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: ClientCall was cancelled at or after deadline. [closed=[CANCELLED], committed=[remote_addr=xxx/xxx:xxx]]
	at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
	at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)

We can increase rss.rpc.executor.size to reduce the probability of problems.

In this time, I will see metrics grpc_server_executor_blocking_queue_size like this:
截屏2024-04-15 上午10 40 12

This may mean that rpc requests are not processed in a timely manner. But there are no indicators that directly prove this. So we should add rpc queued time and rpc process time.

Motivation

No response

Describe the solution

No response

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@qijiale76
Copy link
Contributor

Please assign this issue to me.

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

2 participants