🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #22820

Re: NEWNEWS and SLAVE commands under innd 1.5.1

#22820
From: Bill Stewart-Cole
Date: Fri, 31 Oct 1997 00:00
68 lines
4162 bytes
In article <63brmi$u4@camel20.mindspring.com>, no@nospam.com (Harmon V.
Bryner) wrote:

> On Sat, 18 Oct 1997 11:25:09 -0500, Nate Shockey <underdog@flash.net>
> wrote:
> 
> >    All I have to say is that NEWNEWS is bad news.  NEWNEWS is an archaic
> >command that puts all of the "clients" work off onto the server.  You are
> >very correct, it sucks up system resources and can only hurt the server.
> >Just so you'll know, I am the News Administrator for FlashNet.  We have over
> >150,000 users, run news on an E4000 with 1GB of RAM.  It is completely likely
> >for us to have over 1000 readers at once.  With 1000 readers, the load
> >average on the box stays around 1.5.  Yep, that's right, 1.5.  With "One
> >Solitary User" using the NEWNEWS command, I have seen the load average
> >skyrocket to 50 or more, and bring the system to a screeching, sobering
> >halt.  I believe that this is not typical, and indeed, was probably the
> >result of a malicious user who new the side effects of the NEWNEWS command.
> >However, I have since completely DISABLED NEWNEWS.  I have tried every
> >possible option to keep it, and I can't seem to find one that works
> >effectively.  If someone else out there has a better solution, feel free to
> >follow up.
> >    Do yourself a favor, disable NEWNEWS.  Tell your user to do HIMSELF a
> >favor and get a new NewsReader.  The NEWNEWS command is old, and is not very
> >common anymore.
> >
> 
> Hi,
> 
> Pardon my ignorance here, but what is the preferred technique for
> client software to get the articles posted to a given group since the
> previous time checked?  I'm just beginning to write a special purpose
> news client for myself, and had assumed from RFC 977 that NEWNEWS was
> the appropriate way to do this.  Apparently, I am dead wrong.  I've
> read the "draft Barber" and "Read this before writing a newsreader"
> documents, but nothing jumps out at me after reading them again.

Typically a newsreader tracks this itself by maintaining a list of
newsgroups and the article numbers for that group which have been read.
For example, many newsreaders use a common format of the '.newsrc' file
used by rn. It is a pure text file with lines like this:

news.software.nntp: 1-2056
news.announce.important: 1-2,4,6-22


This lets the newsreader track that the user has read up to article 2056
in news.software.nntp, and has read up to article 22 except for 3 and 5 in
news.announce.important. As you can see, this is a little more flexible
than just timestamping and using newnews because it can leave articles
unread without tying them to when they arrived. A similar amount of
information would have to be kept for using newnews, as each newsgroup
would require its own timestamp. 

When you give it a bit of thought, you can see that there really is no
need for NEWNEWS except to save a small amount of work on the part of the
client, but with significant server impact. Typically the NEWNEWS command
itself is not so horrible, as most servers maintain some sort of
Message-ID list that is chronological, however the result is thenn a
client that is asking for messages by Message-ID, which is a lot harder on
most servers than they typical pattern of reading by group and article
number.

-- 
Bill Stewart-Cole                             bill@scconsult.com        
I'm not spam-blocked because I like playing the hardass net-fascist.

Technical Details
Message-ID: <bill-3110970046270001@sc1.scconsult.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: <Pine.GSO.3.96.971017135038.26989b-100000@rocinante.network1.net> <3448E2E5.4A85971D@flash.net> <63brmi$u4@camel20.mindspring.com>

Show Full Headers
Complete Article Headers
Message-ID: <bill-3110970046270001@sc1.scconsult.com>
Subject: Re: NEWNEWS and SLAVE commands under innd 1.5.1
Date: Fri, 31 Oct 1997 00:00:00 +0000
From: bill@scconsult.com (Bill Stewart-Cole)
References: <Pine.GSO.3.96.971017135038.26989b-100000@rocinante.network1.net> <3448E2E5.4A85971D@flash.net> <63brmi$u4@camel20.mindspring.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: 286120933
Distribution: inet
Organization: Despams 'r' us Rogue Midwest Office
Newsgroups: news.software.nntp