Benoit Tellier created JAMES-3147:
-------------------------------------
Summary: Group localDomain calls for RecipientIsLocal
Key: JAMES-3147
URL: https://issues.apache.org/jira/browse/JAMES-3147
Project: James Server
Issue Type: New Feature
Components: Mailet Contributions
Affects Versions: 3.5.0
Reporter: Benoit Tellier
Fix For: 3.6.0
When a mail is processed, very often recipients shares the same domain.
To check if a recipient is local we start a lookup to check its domain is local
then lookup its user. And this for each recipient.
Obviously we can group recipient by domains in order to do the check only once.
Similary calls can also be groups by domains upon RRT processing and in
HostIsLocal.
This is an interesting area of improvment as glowroot profiling session showed
Cassandra GET domain request was by far the most time consumming request with a
cumulated time of 76 seconds and 38 thousands calls.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]