🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8884

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

#8884
From: Rafal Maszkowski
Date: Sat, 29 Jun 1996 00:00
40 lines
2589 bytes
Brad Templeton (brad@clarinet.com) wrote:
: As our news feeding load grows to the level of requiring another T1
: it becomes clear that adding compression is becoming a serious win.
: In the old days, we used to feel that it was a waste of time, there was
: plenty of bandwidth out there and not that much congestion, and news could
: handle lousy latency, so who cared?

: Eventually you get the article being compressed when posted and decompressed
: when read at local clients.   With compression algorithms like LZ77, as found
: in ISP and gzip and pkzip2, decompression is *very* fast, and can be made
: faster than disk or network I/O for an overall speedup.  Client CPU is also
: cheap.

One can send feeds through compressed channels. I'm doing this with secure
shell using port forwarding. The NNTP feed is directed to a local port
(for nicer logs I've defined a name in remote domain resolving into
local address) and gets to the other machine's 119 port via ssh. This
method has some limitations:

- one needs to login to the other machine with ssh to be able to forward
  ports (simple script can handle this)
- having to keep the ssh channel open all the time (the same simple
  script) or 
  opening it when nntpsend needs it (some nntpsend hacking) or when a
  news reader needs to read from a remote server (ssh hacking)
- there is a throughoutput limit, hopefully above average daily full
  feed bandwidth, may be a problem for many simultaneous feeds
- standard ssh can't access-controll forwarded ports (patch:
  ftp://ftp.torun.pdi.net/pub/security/ssh-1.2.13.channels.c.diff1.gz)

What I'm using it for is compressing a small feed getting through a
low-bandwidth line and also news reading on a remote server through
that line but it can be useful in other environments too.

R.
-- 
Rafal Maszkowski rzm@torun.pdi.net           http://www.torun.pdi.net/~rzm
Opinia publiczna powinna byc zaalarmowana swoim nieistnieniem - St. J. Lec

Technical Details
Message-ID: <4r44oo$2pt@rymunda.torun.pdi.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
References: <4qs8mb$abu@fugue.clari.net>

Show Full Headers
Complete Article Headers
Message-ID: <4r44oo$2pt@rymunda.torun.pdi.net>
Subject: Re: Let's put compression into NNTP -- I am willing to pay
Date: Sat, 29 Jun 1996 00:00:00 +0000
From: rzm@torun.pdi.net (Rafal Maszkowski)
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: 162823095
Distribution: inet
Organization: Publiczny Dostep do Internetu
Newsgroups: news.software.nntp