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

Eric Charles commented on IMAP-277:
-----------------------------------

I sometimes need to search in my mail client for mail containing "string" in 
the body.
For large folders, the search takes time (more than 1 second), but I see the 
mails appearing progressively (as a user, I don't fell there's a problem, 
because server gives responses progressively).
With this patch, won't the server need the whole answer on the search, to write 
it back, having as consequence a long wait time for the user.
Maybe not the case, just asking...
Tks,
Eric


> ImapResponseWriter.write(..) should only be called one time per request
> -----------------------------------------------------------------------
>
>                 Key: IMAP-277
>                 URL: https://issues.apache.org/jira/browse/IMAP-277
>             Project: JAMES Imap
>          Issue Type: Improvement
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>
> At the moment we call ImapResponseWrite.write(..) many times for one response 
> (writing parts of it). This can lead to problems with nio frameworks and can 
> be a cause of mixed up responses. Beside this this is a big performance 
> killer as such syscalls can be very expensive.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to