Re: [Imap-protocol] If Crispin were creating IMAP today how would it be different?

Joshua Cranmer <[email protected]> Mon, 09 Mar 2015 20:15:49 -0500
Newsgroups gmane.mail.imap.general
Message-ID <[email protected]>
On 3/9/2015 7:01 PM, Brandon Long wrote:
> We witnessed quite a big portion of cpu involved in un-dot-stuffing 
> smtp (and correcting line endings) and saved quite a bit of that with 
> supporting BDAT.

Yeah, dot-stuffing definitely seems to me to be the slowest and worst 
part of SMTP: if you use BDAT, you could use splice() or similar kernel 
features to just shunt things between sockets and files without needing 
to do immediate inspection. And I'm guessing that almost of the time 
spent having to work with the SMTP protocol itself (as opposed to 
necessary routing or processing logic) is likely to be worrying about 
dot-stuffing, since it's most of the datastream by size and it's not a 
unitary transformation.

> On Mon, Mar 9, 2015 at 4:54 PM, Hoa V. Dinh <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Unfortunately, mail servers have to deal with the existing world
>     of emails,
>     where there are charset encoding, MIME encoding, spinning disks
>     and memory.
>

Well, if you're talking about replacing the rfc 5322/MIME format, there 
is certainly a large number of historical warts and issues that could be 
fixed that are completely orthogonal to text versus binary.

-- 
Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth

_______________________________________________
Imap-protocol mailing list
[email protected]
http://mailman13.u.washington.edu/mailman/listinfo/imap-protocol