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

Reuse NioEventLoopGroup in standby client

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.13
    • Fix Version/s: 1.5.14, 1.6.0
    • Component/s: segment-tar
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: