🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #41233

Re: NoCeM & INN2.3

#41233
From: bill davidsen
Date: Tue, 02 Nov 1999 00:00
41 lines
2933 bytes
In article <yl7lk3llie.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:

| I'm also seriously considering a binary history file format, now that the
| contents are basically identical for each line and are all fixed-width
| fields.  For one thing, it would reduce the amount of data INN has to
| write out for the history file by a factor of three (helping both
| performance and some of the large file limits that people are already
| running into), and for another it would let the offsets stored in the
| index hashes be by record rather than by byte, which gives another four or
| five bits at the top of the offset to play with, which means that one
| could potentially do tagged hash even smaller than it is now.  But I
| haven't looked at that very much.
| 
| The advantage of wrapping an API around it first is that decisions like
| binary file formats can be stuck behind a standard API, and that way we
| get nearly transparent backwards compatibility.

  Just please do this carefully, as there are MANY tools to read the
current format. In particular I regularly get a request to refeed the
last half day worth of articles or something, and being able to grab the
cookie for sm right out of the file is vastly useful. Of course having
the group name in the old format made it easy to reoffer just one group,
but I have tools for that now, as well.

  I also use several tools to look at the times, and I bet other sites
do as well. This is useful for identifying various feed problems, etc.

  I would like any history form which eliminated rebuilding everything in
expire. However, I think a real database, allowing deletes, would be
superior in some ways, since "remember as long as you can" isn't optimal
in all cases. We could have a real expire again, which made things go
away after a fixed length of time.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Technical Details
Message-ID: <7vnr5c$h3k$1@newssvr02.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
References: <3819A774.9C57FDCA@boerde.de> <ylu2n8cokb.fsf@windlord.stanford.edu> <7vhcis$oq9@bigred.inka.de> <yl7lk3llie.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <7vnr5c$h3k$1@newssvr02.news.prodigy.com>
Subject: Re: NoCeM & INN2.3
Date: Tue, 02 Nov 1999 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <3819A774.9C57FDCA@boerde.de> <ylu2n8cokb.fsf@windlord.stanford.edu> <7vhcis$oq9@bigred.inka.de> <yl7lk3llie.fsf@windlord.stanford.edu>
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: 543716623
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr02.news.prodigy.com 941584364 17524 199.4.137.118 (2 Nov 1999 23:12:44 GMT)
Organization: Prodigy Services (1-800-PRODIGY)
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com