Article View: news.software.nntp
Article #87211Re: About compression with NNTP
From: Julien ÉLIE
Date: Thu, 12 Nov 2015 19:04
Date: Thu, 12 Nov 2015 19:04
71 lines
3816 bytes
3816 bytes
Hi Ken,
>>> The only counter-arguments I would have is the fact that
>>> STARTCOMPRESSION could be read as "straight after the successful
>>> response of the server, every exchange is compressed".
>>> And, in case it could be useful for clients, we could define
>>> ENDCOMPRESSION, that purely removes compression.
>>
>> This syntax IMHO looks nice (for a protocol like NNTP, that is designed
>> to be human readable too), but is more complicated. I think we should
>> only use it if the option "END" is really required.
>
> Agreed, is there an actual use case for disabling compression once it
> has been enabled?
The only use case I see is for news readers dedicated to binaries. Some
of them have implemented the XZVER and XZHDR commands to respectively
download compressed overview and headers.
http://helpdesk.astraweb.com/index.php?_m=news&_a=viewnews&newsid=9
Afterwards, article bodies are downloaded with normal ARTICLE or BODY
commands, without compression. The bodies are already in a compressed
form (using for instance yEnc).
The client is therefore actor of the compression it wants.
(Whereas the text that previously was in Section 3 of the first version
of the draft regarding binary and uncompressible attachments was
server-oriented. Maybe it was the reason why the text was removed, or
maybe because it was not generic enough.)
A possible use case would then be:
STARTCOMPRESSION
GROUP my.group
OVER 1000-
ENDCOMPRESSION
ARTICLE 1000
ARTICLE 1001
[...]
STARTCOMPRESSION
GROUP my.group2
OVER 7000-
ENDCOMPRESSION
ARTICLE 7000
ARTICLE 7001
[...]
XZVER and XZHDR would then no longer be needed.
> If the client wants to stop compression (or TLS) on a particular
> connection, it can simply QUIT and open a new connection.
It is true that the client could do that with COMPRESS, or also open
several parallel connections (one compressed to download overview,
others uncompressed to download articles).
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")
--
Julien ÉLIE
« N'écoutant que son courage qui ne lui disait rien, il se garda
d'intervenir. » (Jules Renard)
Technical Details
Message-ID:
<n22ns0$e1i$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>Show Full Headers
Complete Article Headers
Message-ID: <n22ns0$e1i$1@news.trigofacile.com> Subject: Re: About compression with NNTP Date: Thu, 12 Nov 2015 20:04:31 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> 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> 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: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 12 Nov 2015 19:04:32 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-233-36.w83-200.abo.wanadoo.fr:83.200.8.36"; logging-data="14386"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <n21ts0$gpr$1@news.trigofacile.com> X-Received-Body-CRC: 1413420993 X-Received-Bytes: 3792