Article View: news.software.nntp
Article #7440Re: Microsoft's having problems again with load average
From: kremžská HOŘČICE
Date: Thu, 09 May 1996 00:00
Date: Thu, 09 May 1996 00:00
50 lines
3249 bytes
3249 bytes
On 8 May 1996, Mike Pelletier wrote:
> >On a different note, what exactly is this "pull" feed I've seen you
> >mention a few times? How does it work?
>
> The "pull" feed is simply using "nntpget" with the "NEWNEWS" nntp command
> to retreive all new articles since the last time we checked.
My experience with ``nntpget ... -u timestampfile'' is that after a
successful download of the latest news, the timestampfile is given a
timestamp of the time of *completion* of the nntpgittin'. While this
might work for a site with a speedy connection, my test experience was
that it took almost the interval at which I was running nntpget -u to get
the latest articles in the selected groups. Thus, the following
incantation of nntpget would end up skipping the majority of new articles.
(This is, mind you, over congested lines to the Czech Republic.)
I haven't looked much at the nntpget source, but instead I made a hack
I am ashamed of to run nntpget from cron, then one minute later, touch the
timestamp file with a time of one minute before the nntpget was started
(just to be safe). There are obvious problems with this, such as if the
nntpget is not able to complete successfully (and quite often it is not),
those unretrieved articles are simply forgotten about, so I must run suck
by hand overnight to catch up on what has been missed. On the other hand,
I get the advantage of parallel feeds, since it takes more than the cron
interval to get all the articles received in that time from those servers.
It seems that what I should do instead, in the absence of easily-
configured feeds from a remote site (I have verified that not only must I
feed quite a few parallel feeds, even with streaming, to our downstream
sites, but the only way I can get even a minimal feed in by day without
hours lag will be to have multiple parallel feeds), would be to check if
an nntpget to that particular host for those selected newsgroups is
running, and if not, kick off a new one, and modify the code so that after
successful completion, the timestamp file is touched with the nntpget
starting time.
I'm lazy, of course. Has anyone done this for me, or can anyone point
out problems with my thinking (besides the obvious, thankyouverymuch)?
Barry Bouwsma <barryb@tuke.sk>
situated in news-poor Praha, Czech Republic
Technical Details
Message-ID:
<Pine.SGI.3.93+v4.376send.c.960509052706.14015A-100000@voskovec.radio.cz>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-mailReferences:
<4mnnk8$def@valhalla.comshare.com><318fed97.5260541@stallion.jsums.edu> <4mqbip$g6m@valhalla.comshare.com>Show Full Headers
Complete Article Headers
Message-ID: <Pine.SGI.3.93+v4.376send.c.960509052706.14015A-100000@voskovec.radio.cz> Subject: Re: Microsoft's having problems again with load average Date: Thu, 09 May 1996 00:00:00 +0000 From: kremžská HOŘČICE <r00t@Radio.CZ> References: <4mnnk8$def@valhalla.comshare.com><318fed97.5260541@stallion.jsums.edu> <4mqbip$g6m@valhalla.comshare.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: 153828861 To: Mike Pelletier <mikep@comshare.com> Content-type: TEXT/PLAIN; charset=US-ASCII Organization: Radio Praha -- Cesky Rozhlas 7 Mime-version: 1.0 Reply-to: Barry.Bouwsma@tuke.sk Newsgroups: news.software.nntp