Article View: news.software.nntp
Article #52588Re: Article numbering
From: Mark
Date: Tue, 29 May 2001 10:39
Date: Tue, 29 May 2001 10:39
74 lines
4519 bytes
4519 bytes
"The Archiver" <archiver@i3w.com> wrote in message
news:t5128515302@archiver.winews.net...
> "Mark" <admin@asarian-host.net> wrote:
>
> > For a mini NNTP server I am writing, I have a newsfeed that feeds
> > article numbers in ascending order. My question is, if the newsfeed
> > resets the article number to 1, how do I tell a news client then that
> > its XOVER list needs to be reset too? Or will a news reader like, say,
> > Outlook Express, realize itself that the new numbers are lower than the
> > previous ones, and purge its own, cached XOVER list itself?
>
> I assume that you want to offer proper articles to your newsreaders.
>
> Create your own article numbering on your 'mini NNTP server'. Make sure
> that these numbers are always increasing, even after a crash. A lot of
> newsreader are completely confused if the server is reorganised!
Yes, I have become wise to that. :) In fact, I am writing the mini NNTP
server for the very purpose of serving as a "front-end" server for my
newsfeed, who keeps resetting those articles numbers every so many
weeks--and I am growing tired of that. It messes everything up.
In a proposed new section of RFC 977, I read:
Article numbers MUST lie between 1 and 999999999 inclusive [this allows
one article per second for 31 years]. The client and server SHOULD NOT
use leading zeroes in specifying article numbers. If the server loses
record of the most recent article number in a group, it MUST reset to a
higher article number.
So, I guess I will just keep numberering up, and worry again about
reorganizing the stuff in about 31 years; I can live with that. :)
> If you downlaod article by number from the feed, then verify the
> Message-ID. After reorganisation at feeder side you will get wrong
> articles. (Same happens on some servers if you try to download expired
> articles).
>
> I am using download with: article <msgid> This is far more safe than
> downlaoding by article numbers.
>
> Feeder are reorganised from time to time. High- and low watermarks are
> both decreasing even without a reorganisation.
That is true; the low watermark being reorganized is not such a problem,
methinks (I can just decide whether I want to keep the lower numbers on
spool,) but lowering the high watermark is trickier. I mean, that can occur
even by a client cancellation; a user could cancel his own "last-posted"
article, thus lowering the high watermark.
I guess the best way to realiably add articles to my own feed, is to try and
re-sync with the orginal feed, based on Message-ID (that is, "popping"
Messsage-ID's off my XOVER cache, until I find one that the original feed
still carries, and then sucking articles from the article number belonging
to the next article--with an article-number correction for my own storage,
of course.)
> A real good 'sucking feed' is hard to write...
It is. :)
Thanks for the advice.
- Mark
System Administrator Asarian-host.org
---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx
Technical Details
Message-ID:
<j%KQ6.13540$fb7.1635683@bin1.nnrp.aus1.giganews.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp2.aus1.giganews.com!nntp3.aus1.giganews.com!bin1.nnrp.aus1.giganews.com.POSTED!not-for-mailReferences:
<%isQ6.166468$sP6.9100261@news3.aus1.giganews.com> <t5128515302@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <j%KQ6.13540$fb7.1635683@bin1.nnrp.aus1.giganews.com> Subject: Re: Article numbering Date: Tue, 29 May 2001 10:39:11 GMT From: "Mark" <admin@asarian-host.org> References: <%isQ6.166468$sP6.9100261@news3.aus1.giganews.com> <t5128515302@archiver.winews.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp2.aus1.giganews.com!nntp3.aus1.giganews.com!bin1.nnrp.aus1.giganews.com.POSTED!not-for-mail Newsgroups: news.software.nntp Lines: 73 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 NNTP-Posting-Date: Tue, 29 May 2001 05:39:11 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-Gp2wiVGJlb+KJwjFLbmPvqERzk4QaPh2fQ8Ra+fFsnUkEjxUGwD9Gxo635fi9rGZ5pTMmIgYIJdNz6k!DoVTdnLhIl4Ya/XhPFFOAikYds9c7ZfDMKl5f6SkN8mnUMe/VQyz9HaAHorOFafQXiNUr0m1Egc6!wdaT X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly