Article View: news.software.readers
Article #50153Re: How to avoid downloading duplicates
From: Curt Welch
Date: Tue, 27 Jul 1999 00:00
Date: Tue, 27 Jul 1999 00:00
25 lines
1948 bytes
1948 bytes
"Becky Kearns" <BeckyKearns@hotmail.com> wrote: > Well, I'll be able to XOVER *or* HEAD. I was mostly asking if anyone > had any ideas on fast sorts, whether to keep it in a file or a huge chunk > of ram, that type of thing. How, specifically, do you guys handle it? Head doesn't help if Xref isn't in the article - and it might not be. But it is so common today that creating software that requires it to be there is probably reasonable. But the correct way to avoid dups is to use the Message-ID. To do that you need to build an article index by Message-ID. On news servers this is called the history file. They are normally done with some type of hash scheme where the message-ID is hashed and that value is used to calculate a location in the history file to record information about the article. What you are doing really is not much different than a news server. You end up having to solve most of the same problems. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<19990727133126.062$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.readers.mbox.zip!not-for-mailReferences:
<7nkga4$m08$1@autumn.news.rcn.net> <QIjn3.556$X97.99920@ptah.visi.com> <7nkor4$fbj$1@autumn.news.rcn.net>Show Full Headers
Complete Article Headers
Message-ID: <19990727133126.062$nS@newsreader.com>
Subject: Re: How to avoid downloading duplicates
Date: Tue, 27 Jul 1999 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <7nkga4$m08$1@autumn.news.rcn.net> <QIjn3.556$X97.99920@ptah.visi.com> <7nkor4$fbj$1@autumn.news.rcn.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 505854831
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-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.readers