Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5106

Reuse NioEventLoopGroup in standby client

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.13
    • 1.5.14, 1.6.0
    • segment-tar
    • None
    • Patch

    Description

      The Standby client code does instantiate a new NioEventLoopGroup for every cycle (5 seconds). The standby tests do instantiate many NioEventLoopGroup.

      Although NioEventLoopGroup are closed properly, each of them consume files and management overhead (seting up/down). An improvement would be to reuse the NioEventLoopGroup in standby client across polling cycles and reuse NioEventLoopGroup in the test code.

      Attachments

        1. OAK-5106.patch
          10 kB
          Timothee Maret

        Activity

          People

            frm Francesco Mari
            marett Timothee Maret
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: