🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65288

Re: article database schema?

#65288
From: bobyetman
Date: Wed, 14 May 2003 19:15
33 lines
2868 bytes
> On 12 May 2003 22:13:46 +0200 archiver@i3w.com (Juergen Helbing) said:

> There were two guys here in the last two years who said they have
> realized a news-tool (almost readers AFAIR) which are using a database
> for storing headers & articles and for joining multiparts.....
> groups.google.com is your friend. (we did talk about 'database'
> and 'multiparts'...)

I did a search before I posted, but I'll check again using those terms.  Thanks.

> Most news-servers are using 'special data organisation' (selfmade).
> There are many 'special cases' to implement and the fact that data
> is constantly coming in, is constantly (and concurrently) expired/cancelled 
> and concurrently retrieved as Xover/Xhdr/Xpat/Article-Commands
> might not be the 'typical' application of a 'real database'....
> Good luck !

Actually, IMHO, a news database is primarily read access, with occasional
writes when new articles are posted by users/fed from remote sites, and
the daily expire of old articles.    Pretty typical database stuff.   Most of the
nntp commands can be implemented as SQL queries, simplifying the coding
of the server software.

I'm well acquainted with the requirements for news from a user point of view,
I've been over the various RFCs, etc, and realize this is not an easy project.
Frankly, if I get something working in under a year, I'll be suprised, since I'm
doing it on my own time.

As, the old saying goes, how do you eat an elephant?  One bite at a time...

-- 
bobyetman@comcast.net (Robert A. Yetman)
Technical Details
Message-ID: <ouycnV5bvohICF-jXTWcow@comcast.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
References: <FOGcnYSbhbEOPiajXTWcqw@comcast.com> <4613m.c53200@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <ouycnV5bvohICF-jXTWcow@comcast.com>
Subject: Re: article database schema?
Date: Wed, 14 May 2003 14:15:33 -0500
From: bobyetman@comcast.net
References: <FOGcnYSbhbEOPiajXTWcqw@comcast.com> <4613m.c53200@archiver.winews.net>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Wed, 14 May 2003 14:15:33 -0500
Newsgroups: news.software.nntp
User-Agent: BobsReader/0.3.0
Lines: 32
NNTP-Posting-Host: 68.48.90.241
X-Trace: sv3-uCeUFkTHOKOn813ToVRrZu8/QNRcPuMkvv78r8dvc/HuHEYl5RBhAKRVNx1hnNqsnczGihH1gkIyRnD!nwesNW6GDbJPW9OBn566Pkk9XjuPSAPkOjgXpOv4LTVx0JUerMYyPV9k0l3W
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1