🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54012

Re: Header compression - necessary, useful, senseless ?

#54012
From: The Archiver
Date: Sat, 25 Aug 2001 21:04
100 lines
4894 bytes
devin@thecabal.org (Devin L. Ganger) wrote:

>> I'm not sure what way would be better: 
>> Having _true_ binary transport, using a better encoding 
>> or compressing a bad encoding.
>
>Why is the current encoding bad?  You've made it clear that you
>don't like it, but you haven't actually made a case for it being
>a *bad* encoding.

The actual encoding (UU/base64) creates an overhead of 33-40%.
This makes binaries _far_ larger and requires bandwidth and
storage on the servers harddisk. In the last time the commercial
usenet providers begin to charge for volume.
A proce reduction of 25% would be great, wouldn't it ?

>How much overhead does it result in, as opposed to your
>proposed replacement?

Other encoding strategies for binaries have an overhead of
1-3% (last status).
Compression on headers can save up to 80%.

>Is it enough savings (if any) to justify the work in completely
>re-writing the protocol implementation, as opposed to adding on
>support for a new extension that uses existing mechanics?

I believe so.

>> I'm not sure what path is more promising.
>> All ways require software changes.
>
>Yes, but some are much more catastrophic than others (and allow for
>continued backwards compatibility), and if you want to really have
>this work, you need to allow for those factors as well.

Using a better encoding for binaries is completely transparent for
the Usenet hosts. Just a few autoposters and decoders must be written.

Compressing headers is a _feature_ not a must.
An advanced  client which requests compressed headers and gets a 
negative response (unknown command) will use the old method.

I dont have the history available, but I think that the introduction of the
XOVER (XHDR) command was a similar case.

>Software isn't just a matter of technical superiority; there *are*
>human factors to consider.  I'd raise this by a least an order of
>magnitude when it comes to netnews, which many admins *already*
>consider to be a waste of their time.

You are right. The best savings are reached with discarding binaries.
A well known strategy. And the most important cause for the existance
of commercial news servers.

But perhaps this discussion would be appreciated even by a lot 
of admins. Because we are talking about efficiency - and reduction
of bandwidth and disk storage this time. Not about inflating traffic.


>> The advantage is then on the providers side - and the backbone.
>> However there is no 'must' to use compressed headers.
>> A modem user could easily use the 'standard mode'.
>
>This is more easily done via an extension to NNTP, whereby the reader
>issues a command requesting compression and offers the various methods
>it supports, and the server selects (via policy) the best matching one
>it supports.

Yes - compressed headers is a topic of NNTP.
This newsgroup is about NNTP. So here we are.

>> I myself would prefer true 8 bit streams.
>> Compression and 8bit data are so closely related that I would use
>> the chance to go ahead with both ideas.
>> (Two eggs and three chickens roasted simultanously ;-)
>
>If you want people to adopt it in numbers, you need to move more cautiously.
>Otherwise, it's too big of a pain in the ass to implement.

I'm sure that you are right. It could be done in two steps.
But for a software developper the work consists always of two parts:
- general overhead for a software change + the change itself.
Doing two (closely related) steps in one would save once the entire overhead.

>Now, having said that, there *is* a place to send your thoughts, data,
>etc -- and that's the NNTPNEXT working group.

The NNTPext working group is actually not discussing such extensions.
They are busy with a lot of other things (I'm a silent lurker there).
But when the right time comes (and some experience is available) then
they will be asked to discuss the topic in detail.


Thanks for taking the time to participate in this thread.

-- 
The Archiver

Technical Details
Message-ID: <3204n.p81201@archiver.winews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!news.alt.net!archiver.winews.net!not-for-mail
References: <3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <3909a.r71200@archiver.winews.net> <slrn9oal8t.38h.devin@bofh.thecabal.internal>

Show Full Headers
Complete Article Headers
Message-ID: <3204n.p81201@archiver.winews.net>
Subject: Re: Header compression - necessary, useful, senseless ?
Date: Sat, 25 Aug 2001 21:04:32 +0000
From: archiver@i3w.com (The Archiver)
References: <3009e.q71214@archiver.winews.net> <20010726131654.725$7w@newsreader.com> <3909a.r71200@archiver.winews.net> <slrn9oal8t.38h.devin@bofh.thecabal.internal>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!news.alt.net!archiver.winews.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 99
X-Newsreader: MyNews