🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Morten Wittrock Mon, 07 Jun 1999 00:00
File- or database-based news servers
#37868
Author: Morten Wittrock
Date: Mon, 07 Jun 1999 00:00
13 lines
986 bytes
Hello all!

It is my understanding that most news-servers keep their data in the
filesystem, instead of in, say, a database. Is this in fact the case?

Kind regards

Morten Wittrock
Copenhagen, Denmark



Re: File- or database-based news servers
#37860
Author: Russ Allbery
Date: Mon, 07 Jun 1999 00:00
25 lines
1766 bytes
Curt Welch <curt@kcwc.com> writes:

> Older systems would store each article in a separate file in a file
> system but the overhead for that has grown too large for today's Usenet
> volumes so that technique is no longer as common as it once was.  Inn
> for example still supports it but few people running inn for a full feed
> will opt to use it.  But for smaller feeds it's still a very viable
> soultion.

Some clarification of that may be useful.

Very few people running a *transit* news server, meaning the server that
talks to all of their peers, are likely to use the traditional spool
format because it's too slow.  A lot of people who are running extremely
large news systems are still using the traditional spool format for their
reader machines, which receive a single feed from their transit server,
because it's actually fairly efficient for readers (and has a variety of
advantages for a news administrator, one of the major ones being that
unlike size-limited buffer techniques, floods and other forms of abuse
don't cause legitimate articles to expire faster).

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

Re: File- or database-based news servers
#37861
Author: Curt Welch
Date: Mon, 07 Jun 1999 00:00
27 lines
2014 bytes
"Morten Wittrock" <paybacktime@get2net.dk> wrote:
> Hello all!
>
> It is my understanding that most news-servers keep their data in the
> filesystem, instead of in, say, a database. Is this in fact the case?

Most news servers keep their data in a custom database built on top of a
filesystem.  Some news servers can use raw partitions for parts of the
database and in doing so bypass the filesystem complelety.

Older systems would store each article in a separate file in a file system
but the overhead for that has grown too large for today's Usenet volumes so
that technique is no longer as common as it once was.  Inn for example
still supports it but few people running inn for a full feed will opt to
use it.  But for smaller feeds it's still a very viable soultion.

No news servers uses a standard relational database (like Oracle) to store
news.  It just doesn't work well (people that didn't undertand the
requirements of a news server have tried it).  News has special
requirements (like a 3.5Mbit/sec incomming data rate) that tend to break
standard "databases".

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: File- or database-based news servers
#38226
Author: Russ Allbery
Date: Wed, 23 Jun 1999 00:00
15 lines
1028 bytes
Morten Wittrock <paybacktime@get2net.dk> writes:

> It is my understanding that most news-servers keep their data in the
> filesystem, instead of in, say, a database. Is this in fact the case?

The file system is a database.

The answer is that the format in which articles are stored varies widely
depending on what particular accessibility vs. performance tradeoffs
you're interested in.

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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads