🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by R. Stewart Ellis Wed, 11 Sep 1996 00:00
Is dnews the answer?
#10810
Author: R. Stewart Ellis
Date: Wed, 11 Sep 1996 00:00
82 lines
4877 bytes
I have read with interest about dnews over the last few days, including
almost every article on DejaNews back to sometime in 1995(?).  It sounds
like the answer to some of the problems we are having.

First of all we are an .edu site, so it is "free", so I do not want to hear
any criticisms based on that issue.  I would prefer that it be FREE, but I
do not know of a FREE solution that truly does what it purports to.

First of all I will list the limits we are up against.

There is a low institutional priority for UNIX, Internet and any kind of
academic computing that is not directly teaching in a lab.  This leads to a
number of limits:

1) only one fulltime professional UNIX admin and one 70% student for 2
general-purpose servers and 4 special purpose servers, plus ~60 lab
workstations and about 20 faculty desktop workstations.  These are mostly
Suns, but include 2 HP servers and about 8-10 HP workstations.  All the Suns
are running Solaris 2.4 or 2.5.  A wide range of engineering packages is
installed on these: Mentor, IDEAS, Adams, Pro-E(?), Cadence, Unigraphics,
plus others I cannot remember.  In addition to those there are the full
range of language compilers, plus the Island suite.  I am sure I am
forgetting a number of packages.  Also, one of the HP servers is for a
campus card access system that is being deployed.  The person who installed
INN has gone to another job in another city.

2) almost all PD and "free" software is installed and maintained by me and
two other faculty, without any release from regular teaching duties.  In
addition I have almost sole responsibility for MUA's and for all the Web
stuff, including Web clients, servers and the maintenance of the
institutional homepage.  It sounds like dnews is relatively easy to install,
configure and maintain.

3) while there is a SPARC 20 that has the free cycles for a news server it
does not have enough disk available to carry a meaningful spool for a
reasonable length of time, and no one has any time to tune the expires.  We
only have about 6G of disk, and without intense tuning, the expires have
been set at about 5 days, even though the active file only has 4282
newsgroups in it. (Is that where the actual groups I want are set?)  I am
simply too busy to depend on a news server that cannot spool things for
about 2 weeks.  This would not be such a problem if each server did not keep
its own article numbers.  Because some people want groups that aren't
spooled locally AND because some of us cannot get around to reading within
the expire time, many people (particularly the heaviest news users) do not
use our news server, which means we cannot get the use we would like out of
local news groups.  It sounds like with the sucking feed we could let the
spool tune itself.  Groups which are never accessed would not be spooled,
meaning we could have a larger number of groups which actually are of
interest to people.

4) some people running distance courses would like discussion groups for the
courses, but it is a hassle to grant non .gmi.edu people access to our news
server.  It sounds like with dnews I could let people interact without
actually having to grant them access to the news server.  I am assuming that
I could put the web access behind normal http access control mechanisms.


One thing that is really not clear in any of the discussions is whether the
sucking feed looks like a reader or a leaf-node to the machine it is
connected.  We have a number of machines that will feed us as a leaf node,
but only one that allows normal readers from gmi.edu to access it.  I
hesitate to jam everything onto that pipe.  

Is it possible to have some groups or hierarchies come in as a normal feed,
while leaving others as a sucking feed, and exclude some groups entirely?

Maybe I do not understand inn well enough to realize that it is not that
hard to config/maintain.

It almost sounds too good to be true, an everyone knows that old saying.

Comments?


-- 
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt.Inst. ()  /   _____  ______
  Flint, MI 48504    Free speech and free software!  /\ /        / /  /  / /
  Web admin:  http://www.gmi.edu/      ellis@gmi.edu   /________/ /  /  / /

Re: Is dnews the answer?
#10804
Author: Mark Hittinger
Date: Wed, 11 Sep 1996 00:00
25 lines
1377 bytes
ellis@nova.gmi.edu (R. Stewart Ellis) writes:
> ...
>while leaving others as a sucking feed
> ...
>It almost sounds too good to be true, an everyone knows that old saying.
>Comments?

Some sites may prefer not to be hit by 'sucking' feeds.  It can be quite
an unexpected load on a server - especially if you have several people
doing it at the same time.  It might be worth while asking for permission 
to do this from your upstream site.  They may cut you off.

I've had to make some slight adjustments to our nnrpd to keep sucking feeds
from impacting the response time that our ordinary clients get.  It is
particularly noticeable if the sucking client has a higher speed link such
as an isdn connection.

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Re: Is dnews the answer?
#10872
Author: Jeff Woods
Date: Wed, 11 Sep 1996 00:00
21 lines
1582 bytes
Mark Hittinger wrote:
> 
> Some sites may prefer not to be hit by 'sucking' feeds.  It can be 
> quite an unexpected load on a server - especially if you have several 
> people doing it at the same time.  It might be worth while asking for 
> permission to do this from your upstream site.  They may cut you off.

May?  WILL.  I ran an open server until some joker in Heidelberg,
Germany, started an unsolicited FULL sucking feed.  I cut off that IP,
and they came back on another.  I locked out the subnet, and they used
ANOTHER.  I had to close it down to the public because of some people's
utter lack of respect for proper nettiquette.

And that server STILL tries to hit us, every 15 minutes.  Apparently
they never noticed that the feed stopped, or they think we might "fix"
it sometime soon.  (And I've emailed the postmaster, asking them to stop
-- to no avail).


Re: Is dnews the answer?
#11218
Author: Bill Stewart-Cole
Date: Sun, 29 Sep 1996 00:00
51 lines
2865 bytes
In article <52maca$7lr@work.smurf.noris.de>, smurf@noris.de (Matthias
Urlichs) wrote:

>In news.software.nntp, article <516i08$t0j@news.eecs.umich.edu>,
>  ellis@nova.gmi.edu (R. Stewart Ellis) writes:
>>  It sounds like with the sucking feed we could let the
>> spool tune itself.  Groups which are never accessed would not be spooled,
>> meaning we could have a larger number of groups which actually are of
>> interest to people.
>> 
>IMHO, a server which implements a sucking feed is a Mistake with a capital M.

I think this based on the most common sucking implementation, the 'suck'
program, which is rather rough on its targets. 

DNews is not so bad, because....

[...]
>> One thing that is really not clear in any of the discussions is whether the
>> sucking feed looks like a reader or a leaf-node to the machine it is
>> connected.
>
>It looks like a reader who (a) also issues NEWNEWS commands (which is Bad)
>and also reads very very fast (which is also bad, but not THAT bad).

DNews does NOT use the newnews command at all. It tracks what it has read
by keeping the rough equivalent of a .newsrc in its active file.  It also
has a hardwired limit of 101 messages per group per session. This can be a
problem for the server admin, but it is designed to be easy on the sucked
machine. 

In essence, DNews looks much like an offline reader. 

That said, I have misgivings about DNews. It encourages the careless use of
ill-maintained active files, and it is designed so that the path of least
resistance is to set up a sucking leaf node with the appearance of an
unweeded full feed, which is a Bad Thing on a number of levels. 

I have been trying out the Mac version, an experience that makes me
extremely suspicious of Netwin. Maybe their Unix/VMS/NT versions are
actually solid, but what they are putting out as 'release' quality on the
Mac is shameful. It is fundamentally non-functional, and due to poor design
it has the habit of becoming nothing but an inaccessible consumer of memory
and CPU that can only be halted by extraordinary measures. This they ask
money for...

-- 
Bill Stewart-Cole

Re: Is dnews the answer?
#11222
Author: Matthias Urlichs
Date: Sun, 29 Sep 1996 00:00
39 lines
2463 bytes
In news.software.nntp, article <516i08$t0j@news.eecs.umich.edu>,
  ellis@nova.gmi.edu (R. Stewart Ellis) writes:
>  It sounds like with the sucking feed we could let the
> spool tune itself.  Groups which are never accessed would not be spooled,
> meaning we could have a larger number of groups which actually are of
> interest to people.
> 
IMHO, a server which implements a sucking feed is a Mistake with a capital M.

Now, a sever which pulls articles off a distant server when a new user
starts to read (and the server realizes it's not subscribed to the group in
question) is probably a good idea. If the beast can be configured to send
(authenticated?) GUP emails to the upstream server, so much the better.

There's already a nice NNTP multiple-upstream-sites cache server out there
somewhere (sorry, I can't remember where...) which looks like it'd work
well under your constraints, together with a local server which only
carries your local groups. Unfortunately I can't find the beast's URL
offhand...

> One thing that is really not clear in any of the discussions is whether the
> sucking feed looks like a reader or a leaf-node to the machine it is
> connected.

It looks like a reader who (a) also issues NEWNEWS commands (which is Bad)
and also reads very very fast (which is also bad, but not THAT bad).

-- 
You will be attacked by a beast who has the body of a wolf, the tail of
a lion, and the face of Donald Duck.
-- 
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP N�rnberg 
Schleiermacherstra�e 12   \   Linux+Internet   /   EMail: urlichs@noris.de
90491 N�rnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
       Click <A HREF="http://info.noris.de/~smurf/finger">here</A>.    42

Re: Is dnews the answer?
#11224
Author: Matthias Urlichs
Date: Sun, 29 Sep 1996 00:00
54 lines
3587 bytes
In news.software.nntp, article <52maca$7lr@work.smurf.noris.de>,
  I wrote:
>
> IMHO, a server which implements a sucking feed is a Mistake with a capital M.
> 
I've since been asked to explain why I say so.

First, there are two ways to figure out which articles the server has but
you don't. One is to remember your article position within each newsgroup.
This is comparatively good; actually, Dnews does things this way. The
second way, as exhibited by slurp, is the NEWNEWS command. This requires
the server to search in its history file for the starting point of the
query and then search through the whole (and usually rather big) file for
matching newsgroups. Computing such a match isn't exactly the fastest of
operations... you easily spend a few msecs per history line. It adds up.
Plus, the file access flushes other data out of the system's cache.

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.

The next problem is that a human being usually doesn't read that fast. Most
Unix systems keep the data you read in memory for a few seconds (unless
space gets tight). If you read faster, like when you're sucking news, your
article data (which doesn't need to be cached, but the system can't know
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.

> Now, a sever which pulls articles off a distant server when a new user
> starts to read (and the server realizes it's not subscribed to the group in
> question) is probably a good idea. If the beast can be configured to send
> (authenticated?) GUP emails to the upstream server, so much the better.
> 
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. 

-- 
You are so agravating you could give an aspirin a headache.
-- 
Matthias Urlichs         \  noris network GmbH  /  Xlink-POP N�rnberg 
Schleiermacherstra�e 12   \   Linux+Internet   /   EMail: urlichs@noris.de
90491 N�rnberg (Germany)   \    Consulting+Programming+Networking+etc'ing
   PGP: 1024/4F578875   1B 89 E2 1C 43 EA 80 44  15 D2 29 CF C6 C7 E0 DE
       Click <A HREF="http://info.noris.de/~smurf/finger">here</A>.    42

Re: Is dnews the answer?
#11317
Author: Alan Brown
Date: Wed, 02 Oct 1996 00:00
20 lines
1282 bytes
In article <52mon9$anh@work.smurf.noris.de>,
Matthias Urlichs <smurf@noris.de> wrote:

>added to its regular feed. Of course, the subscription update should be
>more immediate than currently available via GUP. 

Que?

GUP comes with a small shell script which can be run as part of the mail 
run routine which does immediate updating. I find most client feeds are 
updated within 60 seconds of submitting a GUP request.

AB

-- 
One net to rule them all, one net to find them, one net to bring them all,
using Unix to bind them.

Re: Is dnews the answer?
#11398
Author: 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 


Re: Is dnews the answer?
#11725
Author: The Mouse
Date: Thu, 17 Oct 1996 00:00
28 lines
1719 bytes
On 29 Sep 1996 19:07:22 +0200, smurf@noris.de (Matthias Urlichs)
wrote:

>IMHO, a server which implements a sucking feed is a Mistake with a capital M.
>
>Now, a sever which pulls articles off a distant server when a new user
>starts to read (and the server realizes it's not subscribed to the group in
>question) is probably a good idea. If the beast can be configured to send

That's what a dnews sucking feed does.  When someone selects a
uncached newsgroup it connects to the feed site and downloads all the
articles from that group.  

>> One thing that is really not clear in any of the discussions is whether the
>> sucking feed looks like a reader or a leaf-node to the machine it is
>> connected.
>
>It looks like a reader who (a) also issues NEWNEWS commands (which is Bad)
>and also reads very very fast (which is also bad, but not THAT bad).

DNews does not use the newnews command and as a mater of fact has an
option that can disable the command.   DNews gathers news with the
group, and next commands.

Steve.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads