🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79195

Re: Does some one with

#79195
From: D. Stussy
Date: Sun, 13 Jul 2008 02:48
31 lines
2865 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87hcawm4wb.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
> > "Russ Allbery" <rra@stanford.edu> wrote:
> >> INN already supports compressed news batches over NNTP -- see XBATCH,
> >> which takes any batch format that rnews supports.  However, I think you
> >> still have to encode so that you don't have nuls, although I haven't
> >> checked.
>
> > But will it innfeed do that while using CHECK?
>
> innfeed currently does not support XBATCH.  You have to use innxbatch to
> send batch files.  I'm not sure that batch files make much sense if you're
> using streaming.

That will depend on the size of the article and its compressibility (text
vs. binary)....  Even something simpler like LZ77 or LZW78 (over bzip2 or
gzip) would be an improvement, but it's only cost effective if the time of
compression plus transmission is less than the uncompressed transmission
time - and that's hard to judge, but size is a good indicator.  Obviously,
"small" articles would never be compressed, and large ones always - when
available.

I don't see why streaming would make a difference.  Each article still gets
sent, headers first.  With compression, it could be something simple as the
literal "Compressed\r\n", followed by a 32-bit size (in network order for
consistency), then the literal next "x" bytes as the message (where "x" is
the size).  The message ID and everything else would operate on the received
values after expansion, as would acknowledging receipt with a status code.

Technical Details
Message-ID: <g5bqek$qp0$1@snarked.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!news.glorb.com!news.hub.org!news.snarked.org!not-for-mail
References: <3led74hbgmt03h0amcma48doc6r7kcohb1@4ax.com> <g56se4$j2e$1@news.trigofacile.com> <g58kf0$hkq$1@snarked.org> <874p6wnkdb.fsf@windlord.stanford.edu> <g58mh8$hoj$1@snarked.org> <87hcawm4wb.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <g5bqek$qp0$1@snarked.org>
Subject: Re: Does some one with
Date: Sat, 12 Jul 2008 19:48:51 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <3led74hbgmt03h0amcma48doc6r7kcohb1@4ax.com> <g56se4$j2e$1@news.trigofacile.com> <g58kf0$hkq$1@snarked.org> <874p6wnkdb.fsf@windlord.stanford.edu> <g58mh8$hoj$1@snarked.org> <87hcawm4wb.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!news.glorb.com!news.hub.org!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 31
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-49-180.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1215917333 27424 71.118.49.180 (13 Jul 2008 02:48:53 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Sun, 13 Jul 2008 02:48:53 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478