Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-979 Ratis streaming
  3. RATIS-1424

NettyClientStreamRpc#workerGroup Can cause too much nioEventLoopGroup object

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • client, Netty
    • None

    Description

      Now, the setup of NettyClientStreamRpc#workerGroup causes too many nioEventLoopGroup threads.

      This is what happens when I run for a long time.

      Every NettyClientStreamRpc object has a NioEventLoopGroup

      You can use the same NioEventLoopGroup object instead

      After changes:

      Attachments

        1. image-2021-11-08-16-06-47-937.png
          35 kB
          GuoHao
        2. screenshot-1.png
          7 kB
          GuoHao
        3. WorkerGroupGetter.patch
          5 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              Nicholas Niu GuoHao
              Nicholas Niu GuoHao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h