🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16968

Re: Message Base

#16968
From: Christopher B. Browne
Date: Mon, 14 Apr 1997 00:00
41 lines
2240 bytes
Note that as this is really more relevant to news.software.nntp,
I have directed followup there.

On 13 Apr 97 16:35:53 +0100, William Newton
<will@south-of-heaven.demon.co.uk> posted:
>Could anyone give me any information about message base design, for
>example, a database storing messages for a NNTP news reader?

I think you're really looking here for information on news
*servers*, not news *readers.*  News readers don't normally store
data outside of lists of newsgroups to which the user is subscribing.

>The characteristics of the system would be:

>Necessity to keep data in groups (e.g. newsgroups)
>Fast access
>Reasonably simple deletion

You really ought to take a look at the source code for INN, which
is the most common "database" system for storing news data for NNTP
servers.

There have been attempts to use RDBMS systems for news servers.
Unfortunately, they don't scale very well when you start looking
at gigabyte quantities of news.

INN (which Netscape has repackaged as their "Collabra" News Server)
uses a number of specialized indexing systems optimized to both
insertion and deletion of articles.

This includes things like specialized hash tables (e.g. - .dbz) that
are specifically oriented towards news links.
-- 
Christopher B. Browne, cbbrowne@unicomp.net, chris_browne@sdt.com
PGP Fingerprint: 10 5A 20 3C 39 5A D3 12  D9 54 26 22 FF 1F E9 16
URL: <http://www.conline.com/~cbbrowne/>
Linux: When one country worth of OS developers just isn't enough...


Technical Details
Message-ID: <slrn5l3346.4f.cbbrowne@knuth.brownes.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.databases.theory.mbox.zip!not-for-mail
References: <33510B69.MD-0.180.will@south-of-heaven.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5l3346.4f.cbbrowne@knuth.brownes.org>
Subject: Re: Message Base
Date: Mon, 14 Apr 1997 00:00:00 +0000
From: cbbrowne@news.brownes.org (Christopher B. Browne)
References: <33510B69.MD-0.180.will@south-of-heaven.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.databases.theory.mbox.zip!not-for-mail
X-Deja-AN: 235128058
Distribution: inet
Followup-To: news.software.nntp
Organization: Chris Browne's Apartment
Reply-To: cbbrowne@unicomp.net
Newsgroups: comp.databases.theory,news.software.nntp