Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Under high load, if there are many RaftGroup leaders on one machine and there is a sudden crash, grpc may create many threads to handle requestVote and appendEntry, etc.N, frequent thread creation and context switching, which may lead to performance degradation.
It seems that grpc will not release the thread yet.
We can specify a fixed number of thread pools or periodically recycle threads