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 2020/04/11 05:24:00 UTC

[jira] [Created] (JAMES-3147) Group localDomain calls for RecipientIsLocal

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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org