🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26397

Re: Support for NEWNEWS

#26397
From: bill davidsen
Date: Wed, 18 Feb 1998 00:00
49 lines
3026 bytes
In article <slrn6ejnf5.otp.jon@white.oaktree.co.uk>,
Jon Ribbens <jon@oaktree.co.uk> wrote:

| As Jeff Garzik has pointed out, the Distribution header is arguaby not
| what NEWNEWS should be referencing anyway.

If you take the view that "distributions" means something else, and
that INN does it wrong, and that clients written to use it the way
INN does it are wrong, then you can write a fast NEWNEWS. Of course
if you are willing to make the words mean what you want them to say,
just return "no new news" and be done with it.

| > So it would seem there is a choice between adding another database
| > entry per article, which is a small overhead but adds one more thing
| > to slow the "per incoming article" rate, or doing something
| > inefficient on demand. In either case I have to conclude that there
| > will be a non-trivial increase in CPU and disk usage to support this
| > feature.
| 
| Why do you have to conclude that it will be non-trivial increase in CPU
| and disk usage to write a value which is already in memory to a file
| which is already being written to? Especially when you consider that
| the Distribution header (if indeed this is needed) is nearly always
| empty, and is always short.

But "no distribution" is still data, it can't be stored in zero
bytes unless you have a databse of distributions, in which case you
add overhead to the incoming loop.
| 
| In a quick check of 5000 articles in my news spool, only 786 of these
| had Distribution headers, and these averaged 6 bytes each. This makes
| an average of less than 1 byte per article. Tell me again about this
| "non-trivial increase in CPU and disk usage" ;-).
| 
| > Feel free to tell me how it can be done without either of these
| > approaches taking resources.
| 
| The obvious approach would seem to suffice.

If the obvious approach is to reinterpret the RFC and pretend that
current practice doesn't matter, anything will suffice.
-- 
Bill Davidsen (davidsen@tmr.com)
  Have you ever noticed when playing cards that the money you win
with a successful bluff always looks brighter and shinier than what
you win by fate giving you the best cards?

Technical Details
Message-ID: <6cf3se$ic4$1@newssvr04-int.news.prodigy.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: <34E483C1.2EE1@mci.net> <slrn6eiv1f.i7e.jon@white.oaktree.co.uk> <6ccfiu$14tm$1@newssvr04-int.news.prodigy.com> <slrn6ejnf5.otp.jon@white.oaktree.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <6cf3se$ic4$1@newssvr04-int.news.prodigy.com>
Subject: Re: Support for NEWNEWS
Date: Wed, 18 Feb 1998 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <34E483C1.2EE1@mci.net> <slrn6eiv1f.i7e.jon@white.oaktree.co.uk> <6ccfiu$14tm$1@newssvr04-int.news.prodigy.com> <slrn6ejnf5.otp.jon@white.oaktree.co.uk>
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: 326272500
X-Auth-User: 000000000/85b95ba95315ed6e
Originator: davidsen@darkstar.prodigy.com
X-Post-Time: 18 Feb 1998 16:56:46 GMT
Organization: TMR Associates, Schenectady NY
X-Problems-To: abuse@prodigy.net
Newsgroups: news.software.nntp