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/12/08 09:22:00 UTC
[jira] [Commented] (JAMES-3466) Provision 'system' mailboxes only
when listing mailboxes
[ https://issues.apache.org/jira/browse/JAMES-3466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245761#comment-17245761 ]
Benoit Tellier commented on JAMES-3466:
---------------------------------------
https://github.com/linagora/james-project/pull/4113 contributes this.
> Provision 'system' mailboxes only when listing mailboxes
> --------------------------------------------------------
>
> Key: JAMES-3466
> URL: https://issues.apache.org/jira/browse/JAMES-3466
> Project: James Server
> Issue Type: Improvement
> Components: JMAP
> Affects Versions: master
> Reporter: Benoit Tellier
> Assignee: Antoine Duprat
> Priority: Major
>
> ## Why
> Today we list 5 mailboxes, doing 5 primary key reads on consistency SERIAL every time we perform a JMAP request.
> This has a major impact on the actual JMAP performance, and is most of the time unecessary.
> For instance a class flow is:
> - Mailbox/get
> - Email/query
> - Email/get to list preview
> - Email/get on each open message (say x10)
> - Email/set upon user actions (say x5)
> We end up checking mailbox provisionning 18 time.
> We need to reduce the impact of this provisionning while keeping the benefits of it.
> ## How
> Provision mailboxes only when calling Mailbox/get.
> ## Expected outcome
> Performance enhancement.
--
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