Timothee Maret created OAK-5106:
-----------------------------------

             Summary: Reuse NioEventLoopGroup in standby client
                 Key: OAK-5106
                 URL: https://issues.apache.org/jira/browse/OAK-5106
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-tar
    Affects Versions: 1.5.13
            Reporter: Timothee Maret
             Fix For: 1.5.14


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to