Article View: news.software.nntp
Article #87215Re: About compression with NNTP
From: Ken Murchison
Date: Thu, 12 Nov 2015 21:12
Date: Thu, 12 Nov 2015 21:12
47 lines
3791 bytes
3791 bytes
On 11/12/2015 03:35 PM, Julien ΓLIE wrote: > Hi Ken, > >>> Could a sentence mention that use case in the draft? (something >>> basically saying "the unstandardized XZVER and XZHDR commands can be >>> efficiently replaced with COMPRESS") >> >> I'm actually not sure I care about interoperability with non-standard >> extensions. That being said, if a client does do COMPRESS + XZVER, the >> server should be smart enough to either disable/reject the XZ* commands >> or to set the compression level to 0 at the COMPRESS layer for the XZ* >> responses. > > I was not speaking about interoperability of COMPRESS+XZVER but the > fact that implementing COMPRESS removes the need of XZVER and XZHDR. > > If you do not want to mention these commands, which I perfectly > understand, I suggest to only add a sentence about the possible use of > two parallel or consecutive connections to download overview data > and/or headers via the first connection (using a compression layer) > and bodies on the second (without any compression layer) if the client > knows they are already in a compressed form (yEnc-encoded for instance). The client shouldn't have to do this. The whole point of the verbiage in Section 3 is/was to inform a server author that it can and should adjust the compression setting based on the content that it is sending. The server should use a compression setting > 0 for the OVER, etc responses. The server should use a compression setting = 0 for the BODY, etc responses if/when the content is already compressed. The server is in a much better position to understand the content and is able to adjust the compression setting on the fly within the connection. This is what is outlined in IMAP COMPRESS with similar text that we removed from NNTP COMPRESS, and at the very least, the Cyrus IMAP server does adjust the compression level according to the content. Note that the compression levels of what the client sends to the server and what the server sends to the client can be different from one another. They are two separate streams with separate dictionaries. -- Kenneth Murchison Principal Systems Software Engineer Carnegie Mellon University
Technical Details
Message-ID:
<n22vbi$m83$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <AABWIitSev0AAEcG.A1.flnews@WStation4.micha.freeshell.org> <n1vrgu$6fj$1@news.trigofacile.com> <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de> <n21ts0$gpr$1@news.trigofacile.com> <n22ns0$e1i$1@news.trigofacile.com> <n22p5l$fep$1@news.trigofacile.com> <n22t73$jqf$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <n22vbi$m83$1@news.trigofacile.com> Subject: Re: About compression with NNTP Date: Thu, 12 Nov 2015 16:12:16 -0500 From: Ken Murchison <murch@andrew.cmu.edu> References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWHiG/QCkAACAT.A1.flnews@WStation2.stz-e.de> <mvmahl$iou$1@news.trigofacile.com> <87si5d41ll.fsf@hope.eyrie.org> <mvrm9s$i1l$1@news.trigofacile.com> <AABWIitSev0AAEcG.A1.flnews@WStation4.micha.freeshell.org> <n1vrgu$6fj$1@news.trigofacile.com> <AABWRFK5oaAAAAm3.A1.flnews@WStation3.stz-e.de> <n21ts0$gpr$1@news.trigofacile.com> <n22ns0$e1i$1@news.trigofacile.com> <n22p5l$fep$1@news.trigofacile.com> <n22t73$jqf$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Organization: Carnegie Mellon University Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 12 Nov 2015 21:12:18 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="Ken"; posting-host="cpe-76-180-151-43.buffalo.res.rr.com:76.180.151.43"; logging-data="22787"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <n22t73$jqf$1@news.trigofacile.com> Lines: 44 X-Received-Body-CRC: 3126209295 X-Received-Bytes: 3818