🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Edgar Nielsen Mon, 20 May 1996 00:00
loads caused by slurping newsfeeds
#7770
Author: Edgar Nielsen
Date: Mon, 20 May 1996 00:00
22 lines
1400 bytes
Hi,
	I've been getting quite a few requests from sites wanting to
get their news using 'slurping' or 'pull' methods using tools like DNews,
mainly from sites that don't want to invest in multiple spindles,
lots o' ram, etc. on their news server.

From what I've seen, this method tends to load my server more than the
standard 'push' style of newsfeed using innxmit or nntplink. Some
claim that their software is designed to not cause a big load on
the server, etc. etc. My server doesn't have many NNTP client readers,
it is mostly for news feeds only.

However, I don't have anything concrete on this, and was wondering what
other people's experience has been with the various slurping packages.
To reiterate, I'm interested in responses from the people
feeding the 'slurpers' news from their INN servers.

I'll summarize any responses,
edgar nielsen

Re: loads caused by slurping newsfeeds
#7886
Author: Joe Greco
Date: Wed, 22 May 1996 00:00
53 lines
3288 bytes
In news.software.nntp article <4nrjdp$97i@kadath.zeitgeist.net>, edgar@news.zeitgeist.net (Edgar Nielsen) wrote:
:Hi,
:	I've been getting quite a few requests from sites wanting to
:get their news using 'slurping' or 'pull' methods using tools like DNews,
:mainly from sites that don't want to invest in multiple spindles,
:lots o' ram, etc. on their news server.
:
:From what I've seen, this method tends to load my server more than the
:standard 'push' style of newsfeed using innxmit or nntplink. Some
:claim that their software is designed to not cause a big load on
:the server, etc. etc. My server doesn't have many NNTP client readers,
:it is mostly for news feeds only.
:
:However, I don't have anything concrete on this, and was wondering what
:other people's experience has been with the various slurping packages.

The worst offenders are the ones that retrieve by message-ID, because they
will cause nnrpd to load the history.pag into RAM.  You can disable this by
setting NNRP_DBZINCORE_DELAY to -1.  This doesn't prevent the random
seeking, or the thrashing on your history disk.

I wrote a "utility" years ago that worked very much like a newsreader.  It
would iterate through a list of newsgroups, tracking the high message
retrieved, and presented a very low load to the remote server.  Since
retrievals would tend to be in the same directory, the random seeking
phenomenon was lowered too...  I do not comprehend why more people don't use
this model, given that the BIGGEST reason people tell me they want to use
slurp is so that they can control the selection of newsgroups.

Don't ask me for the program, it was something I lost years ago.  It was
trivial to write and would be more trivial in perl.

You can let them do it, but you have much less control over the load imposed
on your server.  One _useful_ trick is to recode nnrpd with a "piggy" flag,
when set by some threshold (i.e. "more than 2 arts per second requested on
average", "accessed an article by message-ID", etc) you can tell nnrpd to
sleep(1) after each article.  This prevents people running things like
AUB, UQWK, slurp, etc. from dragging your server's performance down into the
abysmal range by requesting two dozen articles per second per abusive
client.

This seems totalitarian at first glance but when you think about it, it
starts to make sense.  You can also place a maximum limit on the number of
nnrpd's you wish to allow.

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/546-7968

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