🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39570

Re: Looking for minimal bandwidth news puller

#39570
From: John Saunders
Date: Wed, 01 Sep 1999 00:00
46 lines
2452 bytes
Eric Edwards wrote:
> 
[ ... ]

> Suck and Newsx want to pull all the news across and create a batch file
> before checking to see if the article is actually wanted.  Ugly.
> 
> Pullnews shows promise.  But it still wants to retrieve the article
> before checking to see if it's wanted.
> 
> What I really want is for the puller to operate in a very sequential
> fashion:
> 
> 1) Get message-id
> 2) ihave <message-d>
> 3) Fetch the article if and only if the local server responds positively
>    to the ihave.

May I suggest PNF? <http://home1.gte.net/jrs/pnf>.  That's pretty much
how PNF operates.

From the README:

"It can send articles directly to an NNTP server through IHAVE, avoiding 
intermediate storing and batching."

> I currently use suck to supplement 2 major push feeds so the condition
> where the article is already here is quiet real and common.
> 
> A delay between articles may be useful to smooth the load.  It's scary
> how much my load suck puts on my system when it starts up.

If you can do perl, you can cause PNF to execute arbitrary perl code to,
for example, examine an article's header to see if you want it, or in 
your case, calculate a bytes/second figure and then sleep to slow down.

> 
> I may just try and hack Pullnews but, being a lazy bastard, I would be
> pleased to find that someone else has already done the work.  :-)

That'd be me. :-)

--
jrs

Technical Details
Message-ID: <%O4z3.5337$%m1.53557@dfiatx1-snr1.gtei.net>
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: <slrn7smucm.6tc.ese002@spica.exile.org>

Show Full Headers
Complete Article Headers
Message-ID: <%O4z3.5337$%m1.53557@dfiatx1-snr1.gtei.net>
Subject: Re: Looking for minimal bandwidth news puller
Date: Wed, 01 Sep 1999 00:00:00 +0000
From: John Saunders <jrs@gte.net>
References: <slrn7smucm.6tc.ese002@spica.exile.org>
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: 519639975
Distribution: world
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@gte.net
X-Trace: +rnM+gIolI5BtT2kkpNkF1SDvlkIZMHLQS4MZNQXeIph1q6dkmGTqPsu/cmwjQy4v6hhfv/vK8Zt!b1OI9o9lBc1dLOwUvuejW2yKhIO+6jCc2UEoxwvIrn+pa7sQnOVVsun/mHQFhzyYfZrg
Organization: very little
Mime-Version: 1.0
NNTP-Posting-Date: Wed, 01 Sep 1999 07:43:55 GMT
Newsgroups: news.software.nntp