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 "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2008/09/20 16:07:44 UTC
[jira] Closed: (IMAP-13) STATUS command performance
[ https://issues.apache.org/jira/browse/IMAP-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Burrell Donkin closed IMAP-13.
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.1
Assignee: Robert Burrell Donkin (was: Joachim Draeger)
Status performance now seems reasonable. Expect more improvements once mailbox API is restructured.
> STATUS command performance
> --------------------------
>
> Key: IMAP-13
> URL: https://issues.apache.org/jira/browse/IMAP-13
> Project: JAMES Imap
> Issue Type: Improvement
> Environment: evolution email client
> Reporter: Robert Burrell Donkin
> Assignee: Robert Burrell Donkin
> Fix For: 0.1
>
> Attachments: STATUS-perf.patch
>
>
> I've been running my server for a little while with extra performance logging to try to work out why it's sluggish.
> The command parsing is orders of magnitudes faster than the data access.
> The reasons seems to be the performance of the STATUS command. Since STATUS is typically called every couple of minutes for every mail box visible on screen, it's quite a significant issue for this email client. (some other clients use SEARCH instead but this is no currently supported.)
> This performance seems to worsen quickly as the number of messages in the box increases.
> On my box:
> STATUS on an empty mailbox with three empty sub mailboxes takes ~45 ms
> STATUS on a mailbox with ~10 read messages takes ~100ms
> STATUS on a mailbox with ~ 50 messages with 40 unread takes ~450ms
> STATUS on a mailbox with ~ 150 with 40 unread takes ~1800ms
> STATUS on a mailbox with ~ 570 unread messages takes ~6600ms
> Any clues about where to start looking?
--
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