[ 
https://issues.apache.org/jira/browse/ARTEMIS-5637?focusedWorklogId=980540&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-980540
 ]

ASF GitHub Bot logged work on ARTEMIS-5637:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Aug/25 17:09
            Start Date: 26/Aug/25 17:09
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request, #5888:
URL: https://github.com/apache/activemq-artemis/pull/5888

   This commit includes the following changes:
   
    - Eliminate the "internal" Core session used by MQTT.
    - Consolidate MQTT-specific logic to send a message directly to a queue.
    - Rename some variables in MQTTPublishManager to be more clear.
    - Refactor some methods in MQTTPublishManager to be more clear.
    - Move createPubRelMessage method from MQTTUtil to MQTTPublishManager.
    - Add new methods to ServerSession to allow creating a consumer with no 
security checks (i.e. an "internal" consumer).
    - Add a test to verify 1:1 MQTT connection to Core sessio ratio.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 980540)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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