[ 
https://issues.apache.org/jira/browse/OAK-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664894#comment-15664894
 ] 

Timothee Maret commented on OAK-5106:
-------------------------------------

IT tests used to run with ~4'000 files opened at the same time. With the patch, 
it is reduced to < 500. 

[~frm], [~mduerig] could you have a look at the patch ?

> 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
>            Assignee: Timothee Maret
>             Fix For: 1.5.14
>
>         Attachments: OAK-5106.patch
>
>
> 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