Article View: news.software.nntp
Article #52851Re: slave servers with INN
From: Alexis Rosen
Date: Wed, 13 Jun 2001 22:46
Date: Wed, 13 Jun 2001 22:46
114 lines
6616 bytes
6616 bytes
Let me help out here, since I made Ben dive into this. (Though I may not be able to stick around for everything Ben will.) not-a-real-address@usa.net (those who know me have no need of my name) writes: ><slrn9id3e5.cha.float@panix1.panix.com> divulged: >>We have a feeder machine living at our ISP, and a reader machine >>here. To be precise, a top-200 (it was top-100 before we started cleaning out spam using cleanfeed, and the moose before we finally retired it) news feeder box lives in our space at a very high-bandwidth colo facility. It runs some hacked-on INN+CNFS from a couple of years ago. It's entirely satisfactory even now, though I expect we'll upgrade it to give it more disk and CPU after we're done with the readers, to to stay ahead of the curve. >when you say "a reader machine" do you mean that there's a system that >your people log into on which they run newsreaders which makes use of >your isp's news server?[...] No, we are the ISP. Our reader box is another INN box with HW RAID running a dev version of INN 2.3, plus the "news Gizmo" (http://www.panix.com/gizmo), a good portion of which is now integrated into INN 2.4. >otherwise... >what are you running now? what size feed are you taking? what is the >reader load? See above. The feeder gets everything, from a number of top-200 peers but we only pass about 7-8k groups to the reader box, about 350-450k articles, about 11-15GB/day. Reader load is up to 100 readers at a time, but figure on that growing by a factor of 4 over the next year (we'll add more slaves as necessary, too). >do you need to get this working quickly or do you have some time? if >you have the time and no other experience i'd suggest that you install >each canidate on a test system (or systems) to get a feel for each. I've got tons of experience, but not in the last 18 months. Ben has much less. I can help a bit. We have some time to get this right. But I don't want to build a bunch of different boxes. I know how to do this, at least reasonably, with INN, so if we don't see better ideas (Russ has already pointed out a couple of things I want to think about- I'd forgotten entirely about the out-of-order problem) we'll just go ahead with that. >>We'd like to replace the reader with two readers, for failover >>purposes. >round-robin dns or a layer-4 switch to distribute the load? the l4 >switch can introduce a single point of failure, but simplistic rr dns >can lead a client to attempt a connection to a machine that is down. I've got a handle on this... it's not what we need to research. L4 is clearly the better way to go, but due to the point below it may not add much. >>we'd like the reader boxes to have identical article numbers. >this requirement reintroduces a single point of failure. Do you understand what would happen if there weren't identical article number?!? It is my belief that this is an absolute requirement. If I'm wrong about this please explain. >>due to the bandwidth considerations, we'd like to have only one reader >>fed from the feeder, and have it feed the other reader. >this requirement reintroduces a single point of failure. Not a problem. Part of the project is to have a plan in place to quickly convert one of the slaves to master status. This can even be automated though it would be ugly to do (and test). And we already have a single point of failure. >since you didn't mention wanting failover for your feeds it would seem >that a single transit server would be sufficient, and most likely that >would also be the numbering server. We'll get to redundant feeders later this year, or early next, but it's not a big deal right now. That box is very reliable and easy to service. >the usual arrangement calls for the numbering server to maintain only >enough article article store as is necessary to keep the reader servers >fed, and each reader server (often called a spooler) maintains it's own >long-term article store (aka spool). this can be done easily using >diablo or inn, and requires the largest number of high capacity disk >drives but delivers the highest performance to the readers. The interesting question is whether to xref slave from feeder to reader #1 (which implies "chaining" xref slaving from reader #1 to reader #2- this is the part I have somewhat less confidence about, though I think it'll work), or from reader #1 to reader #2. Which would make life easier if reader #1 died and we had to start going to reader #2? I don't see a huge difference, but then again, I haven't built this yet. >another arrangement is to have the numbering server maintain the >long-term article store, delivering articles to the reader servers on >demand. this can be done easily using diablo, or diablo and >newscache/nntpcache, or inn and newscache/nntpcache, and requires the >least number of high capacity disk drives but delivers the lowest >performance to the readers. (the performance can be quite acceptible >however.) Cheap is attractive, but unlike the single points of failure you pointed out above, this one is NOT easily overcome. With redundant readers with their own spool, a few minutes can turn the slave unto the master. The same is not true of the single-store-many-cache approach. Someday if our volume warrants it we might tack cache boxes onto the readers, but first we have to have redundant readers with spools. So for now this solution is out, though I'd expect to implement caches for reader boxes #3,4,5, etc. /a
Technical Details
Message-ID:
<9g8qg6$c4c$1@panix1.panix.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!panix!news.panix.com!panix1.panix.com!not-for-mailReferences:
<slrn9id3e5.cha.float@panix1.panix.com> <tidhk99lihhd37@news.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <9g8qg6$c4c$1@panix1.panix.com> Subject: Re: slave servers with INN Date: Wed, 13 Jun 2001 22:46:30 +0000 From: alexis@panix.com (Alexis Rosen) References: <slrn9id3e5.cha.float@panix1.panix.com> <tidhk99lihhd37@news.supernews.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!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!panix!news.panix.com!panix1.panix.com!not-for-mail Newsgroups: news.software.nntp Organization: PANIX Public Access Internet and UNIX, NYC Lines: 113 Distribution: inet NNTP-Posting-Host: panix1.panix.com X-Trace: news.panix.com 992472390 6649 166.84.0.226 (13 Jun 2001 22:46:30 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: 13 Jun 2001 22:46:30 GMT X-Newsreader: NN version 6.5.6 (NOV)