🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26340

Re: Support for NEWNEWS

#26340
From: Jerry Aguirre
Date: Tue, 17 Feb 1998 00:00
16 lines
1414 bytes
In article <6caf17$hco$1@newssvr03-int.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
>You really want to avoid searching the the history file for the
>starting date, too. I don't have a good idea on this, the binary
>search method rots on a file as large as history, even if you decide
>that you will go to linear search when you get to +/-10k or so.

It has been suggested that news simply store additional DBZ records
indexing the history file by time.  By example every 10 minutes it could
store a key which indexed a date in the history file.  When it gets a
request it would convert the requsted time modulo the index interval and
then look for that record.  That should get it close enough that the
binary search can handle the rest.

Technical Details
Message-ID: <6ccjcp$k0o$1@pluto.whowhere.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!not-for-mail
References: <34E483C1.2EE1@mci.net> <6c2ou1$20k$1@flea.best.net> <34E50756.C1396A75@spinne.com> <6caf17$hco$1@newssvr03-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <6ccjcp$k0o$1@pluto.whowhere.com>
Subject: Re: Support for NEWNEWS
Date: Tue, 17 Feb 1998 00:00:00 +0000
From: jerry@taurus.whowhere.com (Jerry Aguirre)
References: <34E483C1.2EE1@mci.net> <6c2ou1$20k$1@flea.best.net> <34E50756.C1396A75@spinne.com> <6caf17$hco$1@newssvr03-int.news.prodigy.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!not-for-mail
X-Deja-AN: 325934746
Organization: WhoWhere?; Mt. View, CA USA
Newsgroups: news.software.nntp