Article View: news.software.nntp
Article #27637Re: [Q] how to have 5000 concurrent accesses with INN?
From: Mark Hittinger
Date: Tue, 14 Apr 1998 00:00
Date: Tue, 14 Apr 1998 00:00
62 lines
3718 bytes
3718 bytes
mau@beatles.cselt.it (Maurizio Codogno) writes:
>Ok, this is more a news.HARDWARE.nntp question :-)
>Which is the best way to scale INN to have a lot of concurrent accesses? My
>naive idea is to have a single machine (master) connected with the other
>feeders, let a lot of clients (slaves) mount the /news filesystem to
>retrieve articles, but having them (remotely) post to the master.
If you don't flush INN and go with Typhoon it *is* possible to do this with
INN. We use a series of slave clusters located in Dallas and San Jose
fronted by a master in Dallas. Posts go to a dedicated post only server
and then to the master. There are 20+ servers that are load balanced using
a customized dns load balancer. At times we've peaked between 8000 and 9000
simultaneous NNTP users so it can be done.
If you try this with INN your problems will be along these lines:
1. Keeping the servers in "sync" so that the spools are as
close to identical as possible in real time. Your expire's
need to sync. Your active files need to sync. Your backlogs
to each of the slaves need to sync. Your support of control
rmgroups/newgroups/changegroups need to sync. The performance
of each of your servers and your backend file storage needs to
be roughly "in sync".
2. Keeping servers and INN running - you can't afford crashes or
core dumps with the slave INN's because when this happens you
will have that server fall out of "sync" with the rest. The
OS will have to fsck your spool (forever) and INN will have to
traverse the spool too (forever) before being able to accept
articles again. The other servers will be accepting articles
and will be well ahead of the server which crashed.
3. Balancing load. For some reason that I can't fathom we seem
to have all the heavy-hitter suck feeds jump on the same host
and drown it while the other hosts are moving happily along. :-)
4. Quick detection of a damaged server and removal of the damaged
server from the available pool.
5. Posts to the "master" are not "streamed" and if you have many
streaming feeds into the "master" posts may fail with timeouts.
6. Xreplic protocol is now too slow. You will need to check out
"xref slaving" and get it to work. This will allow you to
stream articles to your slave servers. We now find this an
absolute necessity during today's usenet 10-15 gig-days.
7. Which INN version to use? Hopefully this will come under some
control with the release of 2.0 (was 1.8-current). We are looking
forward to finally having a legitimate excuse to upgrade from
our hacked up 1.4unoff4-bingo-hippo+++ world. :-) :-)
It is *both* a hardware and a software question! :-)
Regards,
Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com
Technical Details
Message-ID:
<6h0hg8$mh1@dfw-ixnews7.ix.netcom.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-mailReferences:
<6gvc95$9tk$1@beatles.cselt.it>Show Full Headers
Complete Article Headers
Message-ID: <6h0hg8$mh1@dfw-ixnews7.ix.netcom.com> Subject: Re: [Q] how to have 5000 concurrent accesses with INN? Date: Tue, 14 Apr 1998 00:00:00 +0000 From: bugs@ix.netcom.com (Mark Hittinger) References: <6gvc95$9tk$1@beatles.cselt.it> 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: 344065829 Organization: Netcom X-NETCOM-Date: Tue Apr 14 3:38:37 PM CDT 1998 Newsgroups: news.software.nntp