Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-2161

Grpc may spawn many threads

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • gRPC
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            tohsakarin__ yuuka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: