🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8830

Re: Let's put compression into NNTP -- I am willing to pay

#8830
From: Jerry Aguirre
Date: Thu, 27 Jun 1996 00:00
37 lines
2473 bytes
In article <4qs8mb$abu@fugue.clari.net> brad@clarinet.com (Brad Templeton) writes:
>The quick and dirty way is to put in quick transmit compression to sending
>programs and INN and NNTPD.  Combined with streaming, compress batches
>(which gives you 3 to 1 or better on text articles) and send, decompress
>on arrival.   The disadvantage is lots of CPU for compression.

The current concept of sending the article, terminated by a \r\n.\r\n is
not going to work very well with compression.  Not that I ever liked that
model anyway.

An alternative would be to have two channels.  One channel is the standard
NNTP stream.  Note that streaming mode is perfectly capable of checking
IDs for duplicates without the requirment to actually send the articles
on the same channel.

Open a second channel, like FTP does, and shoot a standard compressed
bach format.  I.E. the "#!rnews NNNNN" format.  This works well enough
and has existing debugged code.

>The big win about that is to push for end to end compression.  This means
>articles are compressed upon posting or upon entry into the compressed
>world.   They are then stored compressed on disk, and sent to other
>recipient clients and readers that can handle them compressed.  If the
>recipient can't handle compressed they are uncompressed and sent normally.

Brad, this has been hashed over enough times that you should know the
"gotchas".  The server can not just receive a compressed article and
write it to disk.  It needs to de-compress it to look at the insides
so it knows newsgroups, dates, etc.

Worse, it modifies every article.  At a minimum the "Path" gets updated.
Greater use is being made of the "Xref" header also so that must be
updated.  So at the minimum you need to uncompress the article, modify
it, and then re-compress.  You would save in storage and transmission
though.

Technical Details
Message-ID: <4qv03v$hvi@olivea.ATC.Olivetti.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.mbox.zip!not-for-mail
References: <4qs8mb$abu@fugue.clari.net>

Show Full Headers
Complete Article Headers
Message-ID: <4qv03v$hvi@olivea.ATC.Olivetti.Com>
Subject: Re: Let's put compression into NNTP -- I am willing to pay
Date: Thu, 27 Jun 1996 00:00:00 +0000
From: jerry@strobe.ATC.Olivetti.Com (Jerry Aguirre)
References: <4qs8mb$abu@fugue.clari.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!not-for-mail
X-Deja-AN: 162443199
Organization: Olivetti ATC; Cupertino, CA; USA
Newsgroups: news.software.nntp