[ 
https://issues.apache.org/jira/browse/JAMES-3146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17139042#comment-17139042
 ] 

Benoit Tellier commented on JAMES-3146:
---------------------------------------

This is contributed

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to