🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #58542

Re: Client use of LIST OVERVIEW.FMT (was Re: Threading problem...)

#58542
From: Russ Allbery
Date: Mon, 29 Apr 2002 21:22
44 lines
3309 bytes
Johannes Eggers <jeggers@tetrix.com> writes:

> Just from reading the RFC, the data stored in the overview database at
> the time the message is received is totally not relevant to the format
> the database has at the time the client wishes to look at the XOVER
> info.

It may or may not be relevant.  The RFC doesn't require any particular
behavior there (or at least it shouldn't, since it should be a
documentation of existing practice in this case), and therefore it's an
implementation decision.

> I would think that the reason that the XOVER response supports null-
> values for fields is for that specific case.  On the other hand, I don't
> see why the XOVER command response should be different from the actual
> value (i.e. XOVER result mismatches actual header value).

Right, you can't return a null value unless that header really isn't
present.

> As far as I'm concerned, the overview-database is a conceptual thing and
> does not necessarily need to be implemented as a physical/logical
> database of any kind.  By not implementing the overview database
> separately from the rest of the header, there can be no out-of-syncness
> and the overview format can be changed on-the-fly without a need to
> recreate/re-index the data.

That's one way to implement it.  It's hard to get an acceptable amount of
speed with that implementation choice for a large amount of traffic, but
it would likely work great for a smaller server.

> Alternatively, the database should be a true relational database that
> stores all headers equally.

This has a similar speed difficulty, plus one then either has to duplicate
the storage for the headers or somehow find some other way of storing the
header order so that it's not reordered when returned to the user.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylelgy8ajs.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <ubvbkb7vk7safd@corp.supernews.com> <ylr8lbqk5g.fsf@windlord.stanford.edu> <uc1ktcko1c9n6c@corp.supernews.com> <vxk8z7jm522.fsf@cinnamon.vanillaknot.com> <uc1odnk6hpt0ca@corp.supernews.com> <yl1ydbghhw.fsf@windlord.stanford.edu> <bill-104B64.18011928042002@corp.supernews.com> <ucrdgn6halnn8f@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylelgy8ajs.fsf@windlord.stanford.edu>
Subject: Re: Client use of LIST OVERVIEW.FMT (was Re: Threading problem...)
Date: Mon, 29 Apr 2002 14:22:31 -0700
From: Russ Allbery <rra@stanford.edu>
References: <ubvbkb7vk7safd@corp.supernews.com> <ylr8lbqk5g.fsf@windlord.stanford.edu> <uc1ktcko1c9n6c@corp.supernews.com> <vxk8z7jm522.fsf@cinnamon.vanillaknot.com> <uc1odnk6hpt0ca@corp.supernews.com> <yl1ydbghhw.fsf@windlord.stanford.edu> <bill-104B64.18011928042002@corp.supernews.com> <ucrdgn6halnn8f@corp.supernews.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!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 43
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1020115352 25753 171.64.13.23 (29 Apr 2002 21:22:32 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:5OcCK7+YtttRRpvbDVgb2p3iVbg=