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

Justin Bertram updated ARTEMIS-5637:
------------------------------------
    Description: Currently for every MQTT connection we create 2 Core sessions. 
One sessions represents the MQTT client (e.g. used for creating consumers & 
sending messages), and the other is for internal operations. It should be 
possible to eliminate the session used for internal operations by either using 
the existing session or by performing operations directly on the broker without 
an intermediary session. Doing so will speed up MQTT connection creation & 
destruction as well as reducing pressure on GC.  (was: Currently for every MQTT 
connection we create 2 Core sessions. One sessions represents the MQTT client 
(e.g. used for creating consumers & sending messages), and the other is for 
internal operations. It should be possible to eliminate the session used for 
internal operations by either using the existing session or by performing 
operations directly on the broker without an intermediary session.)

> Reduce MQTT-to-Core session ratio
> ---------------------------------
>
>                 Key: ARTEMIS-5637
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5637
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>
> Currently for every MQTT connection we create 2 Core sessions. One sessions 
> represents the MQTT client (e.g. used for creating consumers & sending 
> messages), and the other is for internal operations. It should be possible to 
> eliminate the session used for internal operations by either using the 
> existing session or by performing operations directly on the broker without 
> an intermediary session. Doing so will speed up MQTT connection creation & 
> destruction as well as reducing pressure on GC.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to