Article View: news.software.nntp
Article #56495Re: Limiting XOVER by date ?
From: Curt Welch
Date: Wed, 13 Feb 2002 18:44
Date: Wed, 13 Feb 2002 18:44
51 lines
3735 bytes
3735 bytes
berg@nospam.invalid wrote: > curt@kcwc.com (Curt Welch) wrote: > > >It seems to me that the best way to limit the problem is to simply limit > >based on the number of headers and not on the date. If you have an > >announce group that gets about 3 messages a month, and it holds 1 years > >worth of messages (36), who wouldn't want to download a years worth of > >headers from the group? Oh, and there is the other more serious problem that I somehow missed the first time. Servers don't normally keep track of when articles show up (at least not in the XOVER data), so returning articles based on when they arrive could require some big changes. And returning them based on the date in the article is mostly worthless for time measurements to the accuracy I believe you were looking for (+- 1 day for example). > I agree with this. I'd like there to be a way > to get the "last" N headers starting from some > article number (decreasing article numbers). I'd > also like the reverse (increasing article numbers). > This would allow for getting the most recent N > articles or the oldest N articles. > > Simply specifying article ranges fails because of > holes in the article numbering. That's true. And it would be easy to implement a fetch based on the number of articles instead of the article range using XOVER on the server side. But I fail to see it as important enough to even consider. Clients can be written to deal with that fairly effecently without any changes to the protocol. They just ask by article range and when they don't get enough because of holes, they ask for more. It can be tricky making code like that work well when a server has large unpredictable gaps of missing articles (either because of expire policy or other reasons), but those cases tend to be rare. And if they are not, you can code around it (like using NEXT/XOVER combinations or by asking for a lot and then dropping the connection when you get too much or by making use of commands like LISTGROUP or giving the user an ABORT button to hit when when the header download is taking too long for a group). However, I think most applications find that limiting the maximum articles by range is all that's needed. i.e., the user sets a 50,000 article limit and the newsreader simply never tires to download a range larger than that, even if the 50,000 article range turns out to hold only 20 articles. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20020213134450.595$4r@newsreader.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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<14029.d22200@archiver.winews.net> <20020213093719.452$nS@newsreader.com> <3c6aac0a$0$41966$e2e8da3@nntp.cts.com>Show Full Headers
Complete Article Headers
Message-ID: <20020213134450.595$4r@newsreader.com>
Subject: Re: Limiting XOVER by date ?
Date: Wed, 13 Feb 2002 18:44:50 +0000
From: curt@kcwc.com (Curt Welch)
References: <14029.d22200@archiver.winews.net> <20020213093719.452$nS@newsreader.com> <3c6aac0a$0$41966$e2e8da3@nntp.cts.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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!feed1.newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com GqK7mvt23VCPCCO5LrPLdZM@FlY18botxk0Y9Z9fMM,/c_.R_
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
%IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 50