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 "Yin,Shiwu (JIRA)" <se...@james.apache.org> on 2013/05/14 03:24:13 UTC

[jira] [Commented] (JAMES-1440) Imap receive mail when there are many mails

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

Yin,Shiwu commented on JAMES-1440:
----------------------------------

A measure is not very accurate, but there is a big difference

FetchType.LAZY
1000 mails Elapsed time >5000 ms
2000	mails Elapsed time >10000 ms

FetchType.EAGER
1000	mails Elapsed time ≈170 ms
2000	mails Elapsed time ≈245 ms

                
> Imap receive mail  when there are many mails
> --------------------------------------------
>
>                 Key: JAMES-1440
>                 URL: https://issues.apache.org/jira/browse/JAMES-1440
>             Project: James Server
>          Issue Type: Bug
>          Components: IMAPServer
>    Affects Versions: 3.0-beta4
>         Environment: linux
>            Reporter: james
>              Labels: IMAP, mail
>
> hi,all
>         i have received mail from james that there are 30 thousand mails in inbox,using javamail api with imap protocol. But it consumed 22s time to open inbox mailbox,just open, not get messages.Then i changed the protocol to pop3,it only cost 40ms. Why? Do imap  not support good when lagre of mails?
>                                                                                                                               

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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