Article View: news.software.nntp
Article #65327Re: article database schema?
From: bobyetman
Date: Fri, 16 May 2003 20:25
Date: Fri, 16 May 2003 20:25
34 lines
3275 bytes
3275 bytes
> On 14 May 2003 21:20:38 GMT curt@kcwc.com (Curt Welch) said: > YOu have 30 per > second, 24x7. And if your server goes down for a few minutes, you have to > receive them must faster so you can catch up with what you missed. And > because you expire as fast as you receive, you have to delete 30 per second > as well. > But for a full feed, the article rate isn't even the big issue. It's the > shear volume. A full feed server has to support 80 Mbits of data comming > in 24x7 totay, and it will double in less than a year. > It's not that this stuff can't be done with a standard relational database, > it's just that the extra overhead it adds means you might need a server > which was 4 times larger (and more than 4 times as expensive) to keep up > with the flow. > And of course all that volume is before you start getting users to access > the server. > If you limit your application to a few text groups, and one user reading > (i.e. a little personal server), then sticking things in a relation > database will probably work. But if you get to large full text feed > server, or something that will support a few hundred users, you are wasting > you time playing with a relational database. Hmm, I'll have to think about that. The whole point of this exercise is to produce a workable system, so if it's as busy as you say, and I have no reason to doubt you, then I'll have to rethink this. It's true I'm not designing my system to replace Inn on a huge feed, but there's a couple of issues, one of just pure physical storage, which is primarily a money issue, but the bigger issue, as you point out, of can you write to that storage fast enough to keep up. I've got a preliminary DB schema worked out, and I'll have to see if I can set up some stress tests of it with feeding articles, just for kicks. -- bobyetman@comcast.net (Robert A. Yetman)
Technical Details
Message-ID:
<lrSdnYh_RYCD1FijXTWcrg@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.ems.psu.edu!news.litech.org!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mailReferences:
<FOGcnYSbhbEOPiajXTWcqw@comcast.com> <4613m.c53200@archiver.winews.net> <ouycnV5bvohICF-jXTWcow@comcast.com> <20030514172038.370$O5@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <lrSdnYh_RYCD1FijXTWcrg@comcast.com> Subject: Re: article database schema? Date: Fri, 16 May 2003 15:25:02 -0500 From: bobyetman@comcast.net References: <FOGcnYSbhbEOPiajXTWcqw@comcast.com> <4613m.c53200@archiver.winews.net> <ouycnV5bvohICF-jXTWcow@comcast.com> <20030514172038.370$O5@newsreader.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.ems.psu.edu!news.litech.org!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!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: Fri, 16 May 2003 15:25:02 -0500 Newsgroups: news.software.nntp User-Agent: BobsReader/0.3.0 Lines: 33 NNTP-Posting-Host: 68.48.90.241 X-Trace: sv3-X4xUuAkExtB/Xr/VMdFfbvuhjQkJ2hsdXxdqo+A4yAv/dwM3VCVIIvDcvczcJ5J3n+7cPaH1t1bKKzh!GD8dGq68sXQ2fhplx2SE1TkB/dl0JW6bdWqBuN5ojS7bQzeYjWtaNPMcujQl 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