Sjoerd de Feijter created JAMES-3505:
----------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to