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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/06/16 03:32:00 UTC

[jira] [Updated] (JAMES-2037) Avoid reading messages when building UID <=> MSN mapping upon SELECT

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

Tellier Benoit updated JAMES-2037:
----------------------------------
    Component/s: IMAPServer

> Avoid reading messages when building UID <=> MSN mapping upon SELECT
> --------------------------------------------------------------------
>
>                 Key: JAMES-2037
>                 URL: https://issues.apache.org/jira/browse/JAMES-2037
>             Project: James Server
>          Issue Type: Improvement
>          Components: IMAPServer
>            Reporter: Tellier Benoit
>
> SelectedMailboxImpl builds the UID <=> MSN mapping for later uses. 
> Today, to do so, we read messages, and keep their UID.
> Needless to say, for some back-ends reading messages is an expensive operation requiring "soft joins" (Cassandra). We should offer a way to directly get an Iterator of UIDs in the mailbox.
> That would allow further optimizations, mostly on Cassandra implementations, avoid thousands of queries upon IMAP SELECT commands on large mailboxes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org