🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4492

Re: Compression (Was: Suggested good "reject article" size?)

#4492
From: Heiko W.Rupp
Date: Wed, 31 Jan 1996 00:00
48 lines
2672 bytes
In article <4ej6i1$l85@olivea.ATC.Olivetti.Com>, Jerry Aguirre wrote:
>In article <4e82gd$cf2@bushwire.mira.net.au> markd@mira.net.au (Mark Delany) wri

>If you tried to pass the article along already compressed you would have
>the problem of updating the "Path: " header.  Under any compression scheme
>I am familiar with that would mean de-dompression, modification of the

A guy a U Stuttgart (framstag@rus.uni-stuttgart.de) wrote ``sendfile''- 
an application to do asynchronous file transfer. He did a good job on 
compression and restart of aborted transfers. Perhaps someone could
look at this. 
After that we define a new command ``xcihave'' withe following:

xcihave <id> <u-siz> <c-siz> <date>

whith id : Message-ID, u-siz: uncompressed size, c-siz: compressed
size and date: posting date.

if remote wants the article , we send 
an uncompressed header along with a compressed body with
sizeof(header)+sizeof(compressed body)==c-siz 
and 
sizeof(header)+sizeof(uncompressed body)== u-siz (as it is the normal size now).

So the news system gets the headers it needs and can modify them as it
wishes and you have less to transfer with the compressed body.

You should send u-siz and c-siz because of:
- finding transmission errors
- allowing the remote to reject huge articles

Also the date in some encoding should be send to allow the remote to
reject old articles before actually transferring them.

For the compressor: the algorithm could be an external one as only
nnrpd needs access to the body, but for servers that have many readers
this would mean that many gzips would be spawned. Perhaps the
decompressor has to be built in into nnrpd. 
I guess here one has to add some options a la ``mode reader compress'' 
which indicates that the newsreader itself is capable of doing decom-
pression of the body and that this can be send compressed. 

-- 
Heiko W.Rupp hwr@pilhhuhn.de
INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/


Technical Details
Message-ID: <slrn4gu7uj.egn.hwr@snert.pilhuhn.de>
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: <30ee0c3a.29716731@stallion.jsums.edu> <DLEAu0.3pr@clarinet.com> <4e <4ej6i1$l85@olivea.ATC.Olivetti.Com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4gu7uj.egn.hwr@snert.pilhuhn.de>
Subject: Re: Compression (Was: Suggested good "reject article" size?)
Date: Wed, 31 Jan 1996 00:00:00 +0000
From: hwr@pilhuhn.de (Heiko W.Rupp)
References: <30ee0c3a.29716731@stallion.jsums.edu> <DLEAu0.3pr@clarinet.com> <4e <4ej6i1$l85@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
X-Deja-AN: 137373823
Organization: The Home Of The Pilhuhn
Reply-to: hwr@pilhuhn.de
Newsgroups: news.software.nntp