Re: [Imap-protocol] Re: Suspend/Restore feature proposal

Timo Sirainen <[email protected]>
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On 22.11.2012, at 3.36, Michael M Slusarz wrote:

> However, I believe Timo has indicated that it is potentially a performance win (although he is discussing in a slightly different context):

It is useful for Dovecot internally, so I'll implement the core functionality in any case. Whether it's useful to expose to IMAP clients, I haven't spent much time on wondering about yet. You said pipelining isn't an issue, so what's really the difference between:

C: a suspend
S: a OK [resume blah]

vs.

C: a cmd1
C: b cmd2
C: c cmd3
S: a ok 1
S: b ok 2
S: c ok 3

In both cases you send data to server, and you receive data from server. In pretty much all cases those replies will be exactly the same. You don't need to even parse it. Just remember the original replies and their byte count, and see if the same reply is received the next time you send the same commands.

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-protocol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.