Article View: news.software.readers
Article #33149Re: Xref and multiple news servers
From: J. Howard Benson
Date: Sat, 26 Apr 1997 00:00
Date: Sat, 26 Apr 1997 00:00
44 lines
2511 bytes
2511 bytes
lvirden@cas.org wrote: > >According to J. Howard Benson <hbenson@polarnet.fnsb.ak.us>: >:The solution I am looking at now is to maintain a file containing >:the message-ids of articles that have been read. When an article >:header is pulled in from the server, if the message-id is in this >:file, that article will be marked as read in the .newsrc file for that >:server and will not be displayed. This message-id file could be >:trimmed by size or age of entry to prevent out of control growth. > >The problem here is that this method doesn't scale well. If a user only >reads a few articles, things will be fine. What if they read a _lot_ of >messages? Keeping only a few message ids won't help them at all. The >best bet might be to a) keep the queues of message ids per newsgroup, >b) default to keeping no message ids, but allow a user to specify particular >newsgroups they wish to track in this fashion, c) use some sort of >compression/ >hashing mechanism to reduce the amount of bits needed to keep track of the >message ids. > It sounds like saving message-ids in a file will substitute for the Xref line when multiple servers are involved.. Let's look at the math for the scaling issue. Assume an average of 40 characters for each message-id with the brackets stripped off and a two digit age stamp added. Entries are removed after 28 days. 1,000,000 bytes are allowed for the file. (1000000 / 40) / 28 = 892.86 space for almost 900 articles per day. News reading habits vary widely between users. Do my assumptions seem valid? Is 28 days long enough to hold the entries? --- J. Howard Benson <hbenson@polarnet.fnsb.ak.us> Fairbanks, Alaska http://www2.polarnet.com/~hbenson - home of simplenews PGPprint = 1F CC EC 3F 1B 17 01 F2 5B 3E 57 6C 42 13 EB 5A
Technical Details
Message-ID:
<5jsbne$f8h@news2.cais.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.development.apps.mbox.zip!not-for-mailReferences:
<5jqrbv$r74$1@cas.org> <4157cd$b27e.c9@PolarNet>Show Full Headers
Complete Article Headers
Message-ID: <5jsbne$f8h@news2.cais.com> Subject: Re: Xref and multiple news servers Date: Sat, 26 Apr 1997 00:00:00 +0000 From: J. Howard Benson <hbenson@polarnet.fnsb.ak.us> References: <5jqrbv$r74$1@cas.org> <4157cd$b27e.c9@PolarNet> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.development.apps.mbox.zip!not-for-mail X-Deja-AN: 238091384 Organization: Posted via CAIS Internet <info@cais.com> Newsgroups: news.software.readers,comp.os.linux.development.apps