Hello,

Can anyone please explain how ResourceQuota::SetMaxThreads actually works 
under the hood?

For example, if I set the max threads to 2 
rq.SetMaxThreads(2);

One thread for completion queue and another thread to serve RPC. Is this 
understanding correct?

What happens when we get burst of RPCs(Say 50 RPCs at a given moment)? 
Since we have defined maximum threads as 2, will few RPCs are rejected by 
"Server Threadpool Exhausted" ? 

Thanks,
Raj


-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/18bbde04-d56e-4271-8d09-9bd7ef6e3e82n%40googlegroups.com.

Reply via email to