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-3146) Optimize JMAP default mailbox provisionning speed

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

Benoit Tellier closed JAMES-3146.
---------------------------------
    Fix Version/s: 3.6.0
       Resolution: Fixed

> Optimize JMAP default mailbox provisionning speed
> -------------------------------------------------
>
>                 Key: JAMES-3146
>                 URL: https://issues.apache.org/jira/browse/JAMES-3146
>             Project: James Server
>          Issue Type: New Feature
>          Components: JMAP
>            Reporter: Benoit Tellier
>            Assignee: Antoine Duprat
>            Priority: Major
>              Labels: perf
>             Fix For: 3.6.0
>
>
> JMAP default mailbox provisionning checks wether default mailboxes (inbox, spam, outbox, sent, draft, trash) exists and create them if needed.
> It performs full mailbox load (retrieve mailboxId by it's path, load mailbox informations, then load it's ACLs) while we could be considering the mailbox do not exist if it's mailboxId can't be retrieved.
> This will, on top of the cassandra backend save 2 Cassandra requests per mailbox, and thus 12 Cassandra requests per JMAP request, improving speed, and lowering pressure on the Cassandra database.



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