Yes, data transfer on the network is for now the main latency cause.

However, there are still some optimization to implement regarding large queries. For now, it is "batched" (batch of 100 I think), but solution like you propose would be better (depending on mailbox implementation to support streaming).

Tks,
- Eric

On 25/05/2011 16:53, Robert Burrell Donkin wrote:
On Tue, May 24, 2011 at 12:24 PM, Eric Charles<[email protected]>  wrote:
<snip>

On 24/05/2011 07:44, Norman wrote:

<snip>
- users usually access the last 50-100 emails (my observation)

Kind of.. you often see an IMAP client todo some "big" FETCH on the
first connect to see if there are changes in the mailbox. Like

a FETCH 1:* (FLAGS)


Yes, I regulary see that when I debug with wireshark some imap traffic. The
full fetch can take some time for large mailboxes...

even pushing the data over the wire for these FETCHes takes a while. i
had it in mind to use streaming paged retrieval with asynchronous
writing to solve this...

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to