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:14:00 UTC

[jira] [Created] (JAMES-3146) Optimize JMAP default mailbox provisionning speed

Benoit Tellier created JAMES-3146:
-------------------------------------

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


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