🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11398

Re: Is dnews the answer?

#11398
From: Julio Sanchez
Date: Thu, 03 Oct 1996 00:00
73 lines
3692 bytes
smurf@noris.de (Matthias Urlichs) wrote:

[I delete the part on NEWNEWS and why it is bad.  Suck does not use
NEWNEWS either.  NEWNEWS has another problem shared with slow outgoing
feeds and is low access locality when reading the articles.]

> Second, you need to pull the articles. This (currently -- people are
> working on alternate storage mechanisms) means a path lookup and an article
> read. With a "normal" active feed, the article is likely to be in the cache
> if the receiving system is reasonably fast and if the sending system has a
> reasonably big heap of main memory. A suck feed, on the other hand, will
> get the articles when they're long gone from main memory, so the system
> will have to read them back in. More load to the poor overworked server.

A current problem with suck is that it will do this twice.  Once while
gathering the article Message-id, once while actually retrieving it.
Suck could be modified to do for each group:

	STAT
	next article if not in history
	HEAD (if killfiles are used)
	next article if killed
	ARTICLE or BODY (depending on whether we did the HEAD)
	feed the article locally while receiving it
	next article

The number of interchanges can be tuned by balancing the need to do
not get articles several times against the need to minimise the number
of roundtrips.  This depends of factors such as link speed and RTT.

This would reduce the impact of suck to that of a 'very very fast
reader'.  This is worse than a normal feed that keeps up, but better
than a lagging outgoing feed (has better disk access locality).

Would this make suck more acceptable?  Would this make suck
unworkable?  Am I missing something?

Don't misunderstand me, I favor using GUP if available.  Problem is it
generally isn't.

> that, currently) will push other data out. On a system with unified memory
> architecture, that'll mean your program text (and data) will get purged --
> to be swapped back in, half a second later. Duh.

This is a valid point (but it also happens with lagging outgoing
feeds).  Can this be minimized somehow?

> Pulling the articles in this case is a reasonable solution because that
> happens _once_; afterwards, the recipient will have the requested newsgroup
> added to its regular feed. Of course, the subscription update should be
> more immediate than currently available via GUP. 

Could GUP or something like that be distributed as a standard piece of
INN?  Maybe it would become so universally available that the impulse
to suck would become less and less common?  Maybe the commercial
servers would follow suit.

A limited suck could be used to get back articles once the normal
GUP-created feed starts if this is required.

All the best,

Julio

-- 
Julio Sanchez, SGI Soluciones Globales Internet
Tel: (91) 804 28 37 Fax: (91) 804 14 05  WWW: http://www.esegi.es
jsanchez@esegi.es jsanchez@gmv.es
 PGP Key fingerprint =  E5 29 93 6F 41 4E 00 E2  90 11 A1 8C 72 D0 DE 71 


Technical Details
Message-ID: <x0afu4yz5t.fsf@melmac.gmv.es>
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: <516i08$t0j@news.eecs.umich.edu> <52maca$7lr@work.smurf.noris.de>

Show Full Headers
Complete Article Headers
Message-ID: <x0afu4yz5t.fsf@melmac.gmv.es>
Subject: Re: Is dnews the answer?
Date: Thu, 03 Oct 1996 00:00:00 +0000
From: Julio Sanchez <jsanchez@esegi.es>
References: <516i08$t0j@news.eecs.umich.edu> <52maca$7lr@work.smurf.noris.de>
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: 186930802
Sender: jjsf@melmac.gmv.es
Content-type: text/plain; charset=US-ASCII
Organization: GMV, S.A.
Mime-version: 1.0 (generated by tm-edit 7.46)
Newsgroups: news.software.nntp