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/06/18 04:32:00 UTC

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

     [ https://issues.apache.org/jira/browse/JAMES-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-3147.
---------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>              Labels: perf
>             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