🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8984

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

#8984
From: Steve Thompson
Date: Wed, 03 Jul 1996 00:00
67 lines
3193 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In <4r5cj0$6ou@fugue.clari.net> brad@clarinet.com (Brad Templeton) writes:
>I haven't seen figures in a while but the last figures I saw showed alt
>as around 55% of the volume and I would venture that there is a lot of
>text there so let's say 40% of volume is pictures.

>We can cut pictures down to at leat 75% of their size (better because
>we can cut their headers and pictures even more).

>So I figure we can cut the volume to .5 x 60% plus .75 x 40% or down to
>60% of current volume.

>So the savings is much more than 10%.

>If we batch, we can cut the total volume to 48% of current, which is
>surely worth it.

>Also, for the fair numbers of sites that don't get alt.binaries, the savings
>are a good deal greater.

I've got me some grungy 'C' that sits on a channel feed and forks for every n
articles.  The child then popen()s something like this:

ssh -c none -C news.foo.bar.net 'rnews >dev/null 2>/dev/null'

and feeds articles to the pipe.  Quite simple, and I rarely have more than one
concurrent batch going at once, but it will happily send multiple batches
concurrently on demand.

SSH uses gzip level 1 compression, and I tend to see 2.5:1 compression (w/o
the warez and binaries groups.)

Even though the code does not (yet) deal with error conditions well, it's
improved my pipes (really a drinking straw) congestion significantly.  150000
articles in 16 hours of connect time over 128Kbps.  I could probably handle
triple the load if it weren't for the pesky customers.

I suppose I could have done this with UUCP over TCP, but I just couldn't be
bothered, and I bet I get far lower latency.

People interested in the code will have to wait until I rewrite the code as I
kind-of blew it away accidentally.  It needed a rewrite anyways.

>Brad Templeton, publisher, ClariNet Communications Corp.	 info@clari.net

Regards,



-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQCVAgUBMdoX0q/aN9TAUvclAQE3KQQAnuwkBCOQmLZ3zqO85kv7wHi+HtQA3Bvf
R0Z/JcdjUwIVI3epklqWltpAA0hb/8o2zTTFrgY03U2WH6WyEZ17hTY0rGZFjAKt
WyHmZRighHesPlVYw0xe4O1EVLF4o/Z/Zgiqtj0nn0K7x8c1tkA1IgmKN+QeDI1B
izH6KmkjvYQ=
=/Xgk
-----END PGP SIGNATURE-----
-- 
Steve Thompson | What you've been used to / What you've been through / Never
Sysadmin,      | known mercy / Have none to show / What you've been used to /
Malcontent     | What you've become / A little short of / What you used to
               | want.  -- MOEV

Technical Details
Message-ID: <4rd582$2i7@bofh.myofb.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.mbox.zip!not-for-mail
References: <4qs8mb$abu@fugue.clari.net> <4qvd4l$3d7$1@bushwire.mira.net.au> <4r1478$1f7q@bcx01.boco.co.gov> <LOC.4r4in4$rav@paperboy.osf.org> <4r5cj0$6ou@fugue.clari.net>

Show Full Headers
Complete Article Headers
Message-ID: <4rd582$2i7@bofh.myofb.org>
Subject: Re: Let's put compression into NNTP -- I am willing to pay
Date: Wed, 03 Jul 1996 00:00:00 +0000
From: stevet@myofb.org (Steve Thompson)
References: <4qs8mb$abu@fugue.clari.net> <4qvd4l$3d7$1@bushwire.mira.net.au> <4r1478$1f7q@bcx01.boco.co.gov> <LOC.4r4in4$rav@paperboy.osf.org> <4r5cj0$6ou@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: 163465599
Organization: Can't be bothered.
Newsgroups: news.software.nntp