[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    [jira] [Created] (JAMES-3505) RemoteDelivery mailet single threaded for mail delivery
From:       "Sjoerd de Feijter (Jira)" <server-dev () james ! apache ! org>
Date:       2021-02-25 3:06:00
Message-ID: JIRA.13360867.1614222313000.972.1614222360116 () Atlassian ! JIRA
[Download RAW message or body]

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

             Summary: RemoteDelivery mailet single threaded for mail delive=
ry
                 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.=C2=A0

I'm not very familiar with Apache James but it looks like=C2=A0the cause of=
 this is the processMail method in DeliveryRunnable. The method is blocking=
 and is preventing multi-threaded behavior.=C2=A0Wrapping the contents of t=
he method in a Mono.create speeds up delivery significantly.

However, I'm not sure if this will cause threading issues (maybe it's suppo=
sed 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic