james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (IMAP-73) Support RFC 3348
Date Mon, 06 Apr 2009 10:20:12 GMT

    [ https://issues.apache.org/jira/browse/IMAP-73?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696029#action_12696029
] 

Robert Burrell Donkin commented on IMAP-73:
-------------------------------------------

When using a database backend, this feature may be tricky to implement efficiently. 

1. The simplest approach would be to dynamically requery. This would mean executing an EXISTS
LIKE for every * LIST returned. This is likely to be inefficient.

2. A complex approach would be to construct a query that would return all children and then
analyse the results. This is likely to be fiddly and may be inefficient in some corner cases.

3. An alternative approach would be cache this information in the Mailbox. As a boolean, this
would be a relatively light addition.  This data could be stored in the database and updated
when a mailbox is deleted or added. This would require a change to the mailbox storage structure.

> Support RFC 3348
> ----------------
>
>                 Key: IMAP-73
>                 URL: https://issues.apache.org/jira/browse/IMAP-73
>             Project: JAMES Imap
>          Issue Type: New Feature
>          Components: Mailbox, Protocol
>    Affects Versions: 0.1
>            Reporter: Robert Burrell Donkin
>             Fix For: 0.1
>
>
> RFC 3348 describes an extension to IMAP which allows clients to determine whether a mailbox
has a child without an expensive general LIST operation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message