Article View: news.software.nntp
Article #87220Re: About compression with NNTP
From: D. Stussy
Date: Sat, 14 Nov 2015 07:07
Date: Sat, 14 Nov 2015 07:07
18 lines
2694 bytes
2694 bytes
Note: Although the issue of authentication before or after compression may be moot for other reasons based on another response, there's another issue to consider: Compression is only beneficial when it results in a shorter transmission length than the uncompressed data. With short commands (i.e. less than 30 characters), depending on the actual data and the compression algorithm used, the compressed version of the data is likely to be equal or larger -- simply because there's not enough data to make it useful - i.e. result in a shorter string. I can't speak for gzip because I don't know its algorithm, but LZW algorithms (e.g. "deflate") do expand on a small amount of data, especially where there are insufficient repeating sequences for compression to be beneficial. This means that sending short commands such as used in authentication make little sense during compression unless they are included in a much larger data set.
Technical Details
Message-ID:
<n26mjn$k03$2@snarked.org>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> <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de> <mvrle0$h20$1@news.trigofacile.com> <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org> <n00o8d$5ui$1@news.trigofacile.com> <AABWJLfp/pwAAAn0.A1.flnews@WStation3.stz-e.de> <n03jk8$b2u$1@news.trigofacile.com> <AABWJgKBjCwAAAnv.A1.flnews@WStation3.stz-e.de> <n06897$9he$2@news.trigofacile.com> <n1vneo$228$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <n26mjn$k03$2@snarked.org> Subject: Re: About compression with NNTP Date: Fri, 13 Nov 2015 23:07:35 -0800 From: "D. Stussy" <spam@spam.org> 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> <AABWH9TID0cAAAnW.A1.flnews@WStation3.stz-e.de> <mvrle0$h20$1@news.trigofacile.com> <AABWIiKDl1EAAEcG.A1.flnews@WStation4.micha.freeshell.org> <n00o8d$5ui$1@news.trigofacile.com> <AABWJLfp/pwAAAn0.A1.flnews@WStation3.stz-e.de> <n03jk8$b2u$1@news.trigofacile.com> <AABWJgKBjCwAAAnv.A1.flnews@WStation3.stz-e.de> <n06897$9he$2@news.trigofacile.com> <n1vneo$228$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 Lines: 16 Reply-To: "D. Stussy" <newsgroups+replies@kd6lvw.ampr.org> NNTP-Posting-Host: nv-184-1-12-86.dhcp.embarqhsd.net Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Trace: snarked.org 1447484856 20483 184.1.12.86 (14 Nov 2015 07:07:36 GMT) X-Complaints-To: newsmaster+complaints@snarked.org NNTP-Posting-Date: Sat, 14 Nov 2015 07:07:36 +0000 (UTC) X-No-Archive: Yes X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Newsreader: Microsoft Windows Live Mail 15.4.3538.513 Importance: Normal In-Reply-To: <n1vneo$228$1@news.trigofacile.com> X-MSMail-Priority: Normal X-Received-Body-CRC: 4283452266 X-Received-Bytes: 2637