james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2332) JMS mail queue should reuse sessions and the like
Date Thu, 08 Feb 2018 09:07:00 GMT

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

Tellier Benoit commented on JAMES-2332:
---------------------------------------

https://github.com/linagora/james-project/pull/1288 is merged.

> JMS mail queue should reuse sessions and the like
> -------------------------------------------------
>
>                 Key: JAMES-2332
>                 URL: https://issues.apache.org/jira/browse/JAMES-2332
>             Project: James Server
>          Issue Type: Improvement
>          Components: Queue
>    Affects Versions: 3.0.0, master, 3.0.1
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: perfomance
>
> As stated here: https://activemq.apache.org/artemis/docs/1.0.0/perf-tuning.html (section
anti-patterns)
> Re-use connections / sessions / consumers / producers. Probably the most common messaging
anti-pattern we see is users who create a new connection/session/producer for every message
they send or every message they consume. This is a poor use of resources. These objects take
time to create and may involve several network round trips. Always re-use them.
> Note that a JMS section needs to be "thread local". Rationals: the rollback operations
rolls back the entire session.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message