πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87216

Re: About compression with NNTP

#87216
From: Ken Murchison
Date: Thu, 12 Nov 2015 22:16
43 lines
3296 bytes
On 11/12/2015 04:35 PM, Julien Γ‰LIE wrote:
> Hi Ken,
>
>> 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.
>
> NNTP does not have the Binary content extension that IMAP has; my 
> worry is that the server does not necessarily understand what it is 
> sending. Otherwise, it would mean that the server performs decoding of 
> MIME-encoded contents to see what it might be, and then adjust the 
> compression level accordingly?

Why would it have to decode the MIME entity?  The server should be able 
to tell from the Content-Type and Content-Encoding what is enclosed.  
Obviously, image/jpeg and application/gzip shouldn't be compressed.  The 
server should also be able to detect whatever craziness yEnc does.

Maybe I'm missing how NNTP is used or client/server software is 
written.  The nntpd that is part of Cyrus IMAP would have no problem 
leveraging what we do for IMAP (see below) and adjusting compression on 
the fly.


>
>> 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.
>
> Doesn't such decoding consume too many CPU resources when thousands of 
> users are connected at the same time and massively download articles?

Not sure what you mean.  The IMAP server has a view of the MIME 
structure of each message and knows what the content is and adjusts 
compression accordingly.

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University


Technical Details
Message-ID: <n2333k$qeu$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
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> <n22vbi$m83$1@news.trigofacile.com> <n230ns$nna$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <n2333k$qeu$1@news.trigofacile.com>
Subject: Re: About compression with NNTP
Date: Thu, 12 Nov 2015 17:16:19 -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> <n22vbi$m83$1@news.trigofacile.com> <n230ns$nna$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 22:16:20 -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="27102"; 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: <n230ns$nna$1@news.trigofacile.com>
X-Received-Body-CRC: 4154609251
X-Received-Bytes: 3257