[ 
https://issues.apache.org/jira/browse/ARTEMIS-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Nigro updated ARTEMIS-3131:
-------------------------------------
    Description: 
Currently a broker started with N acceptors creates N EventLoopGroups ie N x (3 
x cores) different event loops/threads.

Same is happening with NettyConnectors.

Ideally both should share any existing EventLoopGroup (using ref counting to 
shutdown the shared one) to save creating too many threads and waste 
unnecessary resources.

  was:
Currently a broker started with N acceptors are creating N EventLoopGroups that 
means creating N x (3 x cores) different event loops/threads.

Same is happening with the NettyConnectors.

Ideally both should share any existing EventLoopGroup to save creating too many 
threads and waste unnecessary resources.


> NettyAcceptors and NettyConnectors aren't sharing EventLoopGroups
> -----------------------------------------------------------------
>
>                 Key: ARTEMIS-3131
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3131
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.17.0
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>
> Currently a broker started with N acceptors creates N EventLoopGroups ie N x 
> (3 x cores) different event loops/threads.
> Same is happening with NettyConnectors.
> Ideally both should share any existing EventLoopGroup (using ref counting to 
> shutdown the shared one) to save creating too many threads and waste 
> unnecessary resources.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to