You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/03/08 06:34:00 UTC
[jira] [Closed] (JAMES-3505) RemoteDelivery mailet single threaded
for mail delivery
[ https://issues.apache.org/jira/browse/JAMES-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3505.
---------------------------------
Fix Version/s: 3.6.0
Resolution: Fixed
> RemoteDelivery mailet single threaded for mail delivery
> -------------------------------------------------------
>
> Key: JAMES-3505
> URL: https://issues.apache.org/jira/browse/JAMES-3505
> Project: James Server
> Issue Type: Bug
> Components: Remote Delivery
> Affects Versions: master, 3.5.0
> Reporter: Sjoerd de Feijter
> Priority: Major
> Fix For: 3.6.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> RemoteDelivery mailet appears to be delivering mail using a single thread. This affects throughput of email delivery significantly.
> I'm not very familiar with Apache James but it looks like the cause of this is the processMail method in DeliveryRunnable. The method is blocking and is preventing multi-threaded behavior. Wrapping the contents of the method in a Mono.create speeds up delivery significantly.
> However, I'm not sure if this will cause threading issues (maybe it's supposed to be single threaded). So any input appreciated.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org