gRPC CPU usage

139 views
Skip to first unread message

Aleh Linkin

unread,
May 30, 2022, 10:50:54 AM5/30/22
to grpc.io
Hello, developers.
Could you say me is it ok than my gRPC callback server application eats about 150% CPU on 32 CPUs server with 1500 unary requests per second?

I think that is it too much for such amount of requests.

Sincerely,
Oleg

sempronio18

unread,
May 30, 2022, 5:08:26 PM5/30/22
to grpc.io
I think that the problem you're issuing is too vague, there could be some memory leak somewhere or there could be some other issue, with informations you gave us, I don't think it would be possible find the issue.

Aleh Linkin

unread,
Jun 1, 2022, 6:30:51 AM6/1/22
to grpc.io
I've found that a lot of CPU is used by Interceptor which I use to print in/out messages in log. 50% only for one interceptor. Looks like a huge overhead.
Reply all
Reply to author
Forward
0 new messages