Article View: news.software.nntp
Article #56506Re: Limiting XOVER by date ?
From: The Archiver
Date: Thu, 14 Feb 2002 08:14
Date: Thu, 14 Feb 2002 08:14
84 lines
4544 bytes
4544 bytes
curt@kcwc.com (Curt Welch) wrote: >archiver@i3w.com (The Archiver) wrote: >> Did anybody make experiments with "XOVER by days" ? >> Or are there any other ideas how to reach what I want ? >> (Limiting to 10.000 does not solve the problem). > >Why not? The most important reasons for not downloading all the headers is >because a) they take too long to download, or b) they take up to much local >resources (memory, processing time to sort and thread etc). You are right with these "most important reasons". NSPs do not charge users for headers today. They are delivering 100.000 old headers "for free". And the user waits for them to come. >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? Of course 36 headers are not a problem. The "old ones" (older than last expiry date) could be easily skipped. But skipping 75.000 header (out of 100.000) seems to be nonsene. >There is some use in limiting by date. But the newsreader can do that on >it's own if it wants to like you mention using bisection (a simple binary >search). This would be possible - but of course I'm looking for a more efficient solution :-) >Because the feature in my mind is one which most people don't care >about (simply because limiting by number of headers tends to be the better >solution in the first place), and because the newsreader can do it already >using the standard NNTP protocol, I don't see much value in trying to >extend NNTP to add a date limiting argument. The method to simply "limit to 10.000 headers" is that the user has to use "load next 10.000 old headers" multiple times until he received the amount of headers he really wants. And on a multihost reader he has even problems to find out what he did download at all. Usability is very bad here - and most users would not even understand what "load next 10.000 old headers" is. I believe that "load headers from the last 7 days" would be far better. >Besides, most servers I suspect will simply be forced to do the same binary >search on the overviews that the newsreader could do, so there's really >little justification that the code "should" be in the server because it's >easier for the server to do it. Of course the question might be again: "Does a news-server have the time to inspect the XOVER for date before sending them out" - or - "Is CPU time cheaper than bandwidth". I assume that today a production-nntp-server is determining the start and end of of an xover-request (in the xover-cache file) and then simply spools out a buffer without inspecting the content. Scanning 200.000 headers for date and skipping the first 170.000 might be far too "expensive in cpu-cycles". This entire problem is closely related to "compression of headers". And as you see I'm actually working on "optimizing header retrieval" (for MyNews ;-) I believe that the best method for xover-download for "regular nntp-host" would be to read 'backwards' in chuncks of 1000 headers and then stop whenever a certain date is reached. An easy solution for MyNews (where CPU-cycles are cheap) could be to send the xover in reverse order until a "STOP" command is received. Thanks for taking the time to answer. -- Juergen
Technical Details
Message-ID:
<39149.e22201@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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!not-for-mailReferences:
<14029.d22200@archiver.winews.net> <20020213093719.452$nS@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <39149.e22201@archiver.winews.net> Subject: Re: Limiting XOVER by date ? Date: Thu, 14 Feb 2002 08:14:39 +0000 From: archiver@i3w.com (The Archiver) References: <14029.d22200@archiver.winews.net> <20020213093719.452$nS@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!news-xfer.siscom.net!not-for-mail Newsgroups: news.software.nntp X-Newsreader: MyNews Lines: 83 Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com NNTP-Posting-Date: 14 Feb 2002 09:59:48 GMT NNTP-Posting-Host: 1acdef9f.news.newshosting.com X-Trace: DXC=kG[0aG>HZd:4FN?9PHQh50X`1N4>^k1L3iF6BbIV4YY2nEaR^cOTQ`4mP[iaHG9dR0S5nCad7;046CYkk^Fa5Gh1iBS9T0OXi11 X-Complaints-To: abuse@newshosting.com