🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #21705

Re: *NEW* News Server Software!

#21705
From: Jeff Garzik
Date: Fri, 19 Sep 1997 00:00
55 lines
2935 bytes
(cc'd to author)

Karl Kleinpaste wrote:
> Jeff Garzik <jeff.garzik@spinne.com> writes:
> > But when you start talking about millions of records [articles], you
> > need a real database server to perform database server duties -- and
> > that is something INN in its present form, and it's underlying Unix FS
> > storage method, cannot do any more.

> I keep seeing these broad, sweeping claims, that the filesystem-based,
> one-file-per-article method of storing news is not merely dying, but
> already dead.  "[T]hat is something INN ... _*cannot*_ do any more."

I have customers running INN that keep up.  But since INN will not scale
any more, they scale their hardware up instead.


> Funny, there's an awful lot of systems out there, shoveling indecently
> huge amounts of news around, that don't run the new-fangled servers.

They are slowly falling off the end of the Usenet Top 1000, too...


> You may have good ideas.  You may have better ideas, in some areas.
> Then again, you may have a cool personal project in which you are
> personally involved.  So do I -- and I'm so involved in it, because of
> the work this place does, that the likelihood that I'm going to write
> a Linux "usenetfs" module is getting higher by the day, much as Ian
> suggests.  And if and when I get that done, I'm going to laugh a lot
> at you folks who believe yourselves to have already buried the corpse
> of file-per-article.


How will you overcome the humongous FS overhead of opening, writing, and
closing singleton new files a million times a day?

Here's a new article op in the article-per-file system:
	create new file (w/ descriptor)
	writev() data into file
	close(fd)

Here's a new article op in a spool object system:
	find available, open file descriptor
	write data

That's three syscalls versus one.  No matter how you look at it, the
kernel/filesystem overhead will still kill you as long as you use a
single-article-per-file storage method.
-- 
Jeff Garzik					   Quality news feeds
News Administrator		       INN Technical info, Consulting
Spinne, Inc.				http://www.spinne.com/usenet/

Technical Details
Message-ID: <3422B854.471BF16B@spinne.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: <5vpddn$qlb$1@news5.ais.net> <5vq55f$mup$1@earth.execpc.com> <vxk202mfyaz.fsf@pocari-sweat.jprc.com> <5vrnvk$10q$1@flea.best.net> <5vta1f$gtd$1@ftel.ftel.co.uk> <34227DB2.6C2781D0@spinne.com> <vxk3en1e2z0.fsf@pocari-sweat.jprc.com>

Show Full Headers
Complete Article Headers
Message-ID: <3422B854.471BF16B@spinne.com>
Subject: Re: *NEW* News Server Software!
Date: Fri, 19 Sep 1997 00:00:00 +0000
From: Jeff Garzik <jeff.garzik@spinne.com>
References: <5vpddn$qlb$1@news5.ais.net> <5vq55f$mup$1@earth.execpc.com> <vxk202mfyaz.fsf@pocari-sweat.jprc.com> <5vrnvk$10q$1@flea.best.net> <5vta1f$gtd$1@ftel.ftel.co.uk> <34227DB2.6C2781D0@spinne.com> <vxk3en1e2z0.fsf@pocari-sweat.jprc.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
X-Deja-AN: 273866070
To: Karl Kleinpaste <karl@jprc.com>
Organization: Spinne http://spinne.com
Newsgroups: news.software.nntp