🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87185

Re: About compression with NNTP

#87185
From: Julien ÉLIE
Date: Mon, 09 Nov 2015 21:21
44 lines
2901 bytes
Hi Michael,

>> As 8 is the default value for MEM_LEVEL, I kept it.  Do you think 9
>> would be better to use?
>> [...]
>>       memLevel=9 uses maximum memory for optimal speed.
>
> I have used 9 because of the "optimal speed". Because flnews can handle
> only one connection at a time, I expect no memory problems.

OK, we could probably also use 9 in news servers.


> I plan to only make config options for disabling compression completely
> in 3 ways:
> - No zlib installed (detected by build system)
> - Disabled at compile time (manually by user)
> - Disabled at runtime

I imagine the same thing for INN:
* no zlib installed,
* --without-zlib configure flag,
* compressionlevel set to -1 in inn.conf (if set to 0, the news server 
accepts encrypted input but compresses with the 0 level its output).


> If high compression levels really will create problems for servers,
> maybe forbid them in the update of the RFC draft?
> Or a bit weaker like "not more than level x SHOULD be used"?

I think even a SHOULD is too strong because a fully compliant server may 
want to use level 9.  It cannot be declared not RFC-compliant because of 
that.
Maybe a cave-at could just be mentioned about that potential issue.

-- 
Julien ÉLIE

« Les grands voyages ont ceci de merveilleux que leur enchantement
   commence avant le départ même. On ouvre les atlas, on rêve sur les
   cartes. On répète les noms magnifiques des villes inconnues… »
   (Joseph Kessel)

Technical Details
Message-ID: <n1r2o7$qoj$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> <AABWN95ofdEAABgy.A1.flnews@WStation1.micha.freeshell.org> <AABWPOnx3uEAABCC.A1.flnews@WStation3.stz-e.de> <n1l1h4$4bb$1@news.trigofacile.com> <AABWPjINJkIAAAOH.A1.flnews@WStation1.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <n1r2o7$qoj$1@news.trigofacile.com>
Subject: Re: About compression with NNTP
Date: Mon, 9 Nov 2015 22:21:11 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <mvjp3s$n0u$1@news.trigofacile.com> <AABWN95ofdEAABgy.A1.flnews@WStation1.micha.freeshell.org> <AABWPOnx3uEAABCC.A1.flnews@WStation3.stz-e.de> <n1l1h4$4bb$1@news.trigofacile.com> <AABWPjINJkIAAAOH.A1.flnews@WStation1.micha.freeshell.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-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: Mon, 9 Nov 2015 21:21:11 -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="27411"; 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: <AABWPjINJkIAAAOH.A1.flnews@WStation1.micha.freeshell.org>
X-Received-Body-CRC: 3217543314
X-Received-Bytes: 2852