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

Tellier Benoit commented on JAMES-1874:
---------------------------------------

Just merging https://github.com/linagora/james-project/pull/672

Having a look to the Grafana boards, it turns out GetMessages was sometime the 
slowest with a total p99 latency over 8s.

It stricked me at night that we might have implemented sequential access on 
mailboxes of the result, and verify each message is in a mailbox the user can 
read... Well, we should keep it sequential until we can 100% java-8, but at 
least when several messages belongs to the same mailbox we should read it only 
once...



> Optimizing JMAP GetMailboxes : MailboxId should be part of MailboxMetadata
> --------------------------------------------------------------------------
>
>                 Key: JAMES-1874
>                 URL: https://issues.apache.org/jira/browse/JAMES-1874
>             Project: James Server
>          Issue Type: Improvement
>          Components: JMAP
>            Reporter: Tellier Benoit
>            Assignee: Antoine Duprat
>
> This would avoid a read to the Mailbox, as we would not need to retrieve it's 
> ID anymore.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to