🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Tricia C. Sesar Sat, 03 Nov 2001 21:14
INNd server architecture
#54950
Author: Tricia C. Sesar
Date: Sat, 03 Nov 2001 21:14
14 lines
1616 bytes
Pardon me if this question is way too general, but I need a starting
point. I just took a new contract, in which I am charged with building
an INNd server. I have 2 - Enterprise 250's to work running Solaris 8. I
haven't been on site yet, so I don't know what I have in terms of
disks/RAID array(s). But, assuming RAID is an option, what are some
better performing RAID configurations I could use? One thought would be
to run the two servers using NDS round-robin scheme, in order to provide
fail-over. I remember reading in this ng that "newsfeeds" is another
possibility, yes? What about memory considerations? CPU considerations?

Thanks,
Steve

Re: INNd server architecture
#54951
Author: Jeffrey M. Vinocur
Date: Sun, 04 Nov 2001 02:55
33 lines
2084 bytes
In article <3BE45E2D.5FC6AFE9@rcn.com>, Tricia C. Sesar <trixee@rcn.com> wrote:
>Pardon me if this question is way too general, but I need a starting
>point. I just took a new contract, in which I am charged with building
>an INNd server.

For what purpose?  


>what are some better performing RAID configurations I could use?

For news, it's generally pretty silly to use RAID for speed; if
you are bottlenecking on disk i/o it's because you're taking a
full feed, in which case you're surely using CNFS which is
capable of dealing with multiple physical drives itself.  I
suppose you could use RAID for reliability, but...does your news
matter enough to bother?


>One thought would be to run the two servers using NDS
>round-robin scheme, in order to provide fail-over. I remember
>reading in this ng that "newsfeeds" is another possibility, yes?
>What about memory considerations? CPU considerations?

You pretty much lost me here.

What are you trying to achieve?  Interal groups, or external
feeds?  How many readers?  Located where?  How much traffic?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INNd server architecture
#54952
Author: Tricia C. Sesar
Date: Sun, 04 Nov 2001 05:21
56 lines
2760 bytes
>  I am charged with building
> >an INNd server.
>
> For what purpose?

To serve "some" external newsgroups as well as several local newsgroups

>
> For news, it's generally pretty silly to use RAID for speed; if
> you are bottlenecking on disk i/o it's because you're taking a
> full feed, in which case you're surely using CNFS which is
> capable of dealing with multiple physical drives itself.  I
> suppose you could use RAID for reliability, but...does your news
> matter enough to bother?

This is for a major defense contractor; news is important to them.

>
> >One thought would be to run the two servers using NDS
> >round-robin scheme, in order to provide fail-over. I remember
> >reading in this ng that "newsfeeds" is another possibility, yes?
> >What about memory considerations? CPU considerations?
>
> You pretty much lost me here.

Typo; should read DNS round-robin.  As far as "newsfeeds", I believe that there's
a way to setup a server consisting of two machines; one master, the other slave,
and have them synchronize. Memory/CPU considerations, meaning what's the math
behind designing a system. i.e, "N"MB RAM/10 active clients, 100 active clients,
whatever.

> What are you trying to achieve?  Interal groups, or external
> feeds?

Both

>  How many readers?

I suppose that's part of my question. Wait, do you mean readers as in clients, or
readers in the architectural sense, ie reading from a feeder machine?

>  Located where?

Locally, however they will be available over the WAN


> How much traffic?

Don't know yet. I start on Monday. What are some ways to estimate, assuming a mix
of internal/external newsgroups? External would not be a full feed.

>
>
>

Re: INNd server architecture
#54954
Author: Jeffrey M. Vinocur
Date: Sun, 04 Nov 2001 08:02
66 lines
3163 bytes
In article <3BE4D06F.A71CA4A5@rcn.com>, Tricia C. Sesar <trixee@rcn.com> wrote:
>
>> I suppose you could use RAID for reliability, but...does your news
>> matter enough to bother?
>
>This is for a major defense contractor; news is important to them.

Ok.  (It's generally silly because all of global usenet is pretty
well self-backing-up.  But if they have important internal groups
it's a different story.)


>Typo; should read DNS round-robin.

Uh, sure, you could do this.  You'll need to set xrefslave in
inn.conf on one machine so that the article numbers are the same.

You may also need to use nntpsend instead of innfeed to make sure
the articles come in order -- perhaps someone who's set up a
slave machine can comment on the details.


>As far as "newsfeeds", I believe that there's a way to setup a
>server consisting of two machines; one master, the other slave,
>and have them synchronize.

Well, normally you use newsfeeds and incoming.conf to set up
peering (if you're planning on external groups, you're going to
need this to talk to whoever is supplying them).  If you don't
care about clients being able to switch between them, that's all
you need to do. 

If you're going to do round-robin DNS, though, you'll definitely
need xrefslave.


>>  How many readers?
>
>I suppose that's part of my question. Wait, do you mean readers
>as in clients, or readers in the architectural sense, ie reading
>from a feeder machine?

Huh?

Readers, people sitting at their computers reading news. 


>> How much traffic?
>
>Don't know yet. I start on Monday. What are some ways to
>estimate, assuming a mix of internal/external newsgroups?

You need more information.  For the global groups, as long as you
don't take binaries, you're talking max of several GB/day (I
don't have a recent accurate figure).  If you're going to be
sticking to the "relevant" groups, certainly no more than a
couple hundred MB/day.

The internal groups are likely negligible...unless they plan on
using them as a file-distribution (i.e., binary) method.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INNd server architecture
#54959
Author: Tricia C. Sesar
Date: Sun, 04 Nov 2001 14:19
62 lines
3614 bytes
"Jeffrey M. Vinocur" wrote:

> In article <3BE4D06F.A71CA4A5@rcn.com>, Tricia C. Sesar <trixee@rcn.com> wrote:
> >
> >> I suppose you could use RAID for reliability, but...does your news
> >> matter enough to bother?
> >
> >This is for a major defense contractor; news is important to them.
>
> Ok.  (It's generally silly because all of global usenet is pretty
> well self-backing-up.  But if they have important internal groups
> it's a different story.)
>
> >Typo; should read DNS round-robin.
>
> Uh, sure, you could do this.

Your "uh" makes me think that you are aware of a better way to accomplish
fail-over. My top-end goal is to architect a news server that will provide the
highest degree of scalability, performance, and HA. All I know (which isn't much
right tnow) is that I have two Sun Enterprise 250's to work with.

> >>  How many readers?
> >
> >I suppose that's part of my question. Wait, do you mean readers
> >as in clients, or readers in the architectural sense, ie reading
> >from a feeder machine?
>
> Huh?
>
> Readers, people sitting at their computers reading news.

Taken from an INNd FAQ I found, "In a distributed architecture with a shared spool
there is one feeder machine that handles incoming and outgoing news feed, multiple
reader machines that handle user connections and a news store which contains all
shared data. The main idea is to store the data only once so that the readers can
remain reasonably light weight machines. "
I am considering a distributed architecture to provide them with better
scalability after I'm gone. Depending upon the hardware I find there, I may decide
to implement replication; multiple reader machines, one disk array per reader
machine. The feeder machine would handle incoming/outgoing feeds and replication.
Again, I'm all ears if you are aware of a better way to architect a news server.

> >> How much traffic?
> >
> >Don't know yet. I start on Monday. What are some ways to
> >estimate, assuming a mix of internal/external newsgroups?
>
> You need more information.  For the global groups, as long as you
> don't take binaries, you're talking max of several GB/day (I
> don't have a recent accurate figure).  If you're going to be
> sticking to the "relevant" groups, certainly no more than a
> couple hundred MB/day.
>
> The internal groups are likely negligible...unless they plan on
> using them as a file-distribution (i.e., binary) method.
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org

Re: INNd server architecture
#54961
Author: Andrew Gierth
Date: Sun, 04 Nov 2001 15:20
41 lines
3099 bytes
>>>>> "Tricia" == Tricia C Sesar <trixee@rcn.com> writes:

 Tricia> Your "uh" makes me think that you are aware of a better way
 Tricia> to accomplish fail-over. My top-end goal is to architect a
 Tricia> news server that will provide the highest degree of
 Tricia> scalability, performance, and HA.

This still leaves you with a lot of tradeoffs that you're going to
have to decide on.

For example: how important is it to you not to lose articles in the
event of some screwup? If you use the shared-spool approach, then you
will have only one copy of everything; having two independent spools
at least means that trashing one spool is not necessarily fatal.

(BTW, if robustness is important to you, you probably want to avoid
INN 2.3.x, which is notoriously fragile. INN 2.2.x with traditional
spool is better in that respect.)

 Tricia> Taken from an INNd FAQ I found, "In a distributed
 Tricia> architecture with a shared spool there is one feeder machine
 Tricia> that handles incoming and outgoing news feed, multiple reader
 Tricia> machines that handle user connections and a news store which
 Tricia> contains all shared data. The main idea is to store the data
 Tricia> only once so that the readers can remain reasonably light
 Tricia> weight machines. " I am considering a distributed
 Tricia> architecture to provide them with better scalability after
 Tricia> I'm gone. Depending upon the hardware I find there, I may
 Tricia> decide to implement replication; multiple reader machines,
 Tricia> one disk array per reader machine. The feeder machine would
 Tricia> handle incoming/outgoing feeds and replication.  Again, I'm
 Tricia> all ears if you are aware of a better way to architect a news
 Tricia> server.

I wouldn't even think about the shared-spool method unless you have a
nice dedicated NFS toaster (NetApp or whatever) to play with as the
spool.

-- 
Andrew.
Re: INNd server architecture
#54966
Author: Jeffrey M. Vinocur
Date: Sun, 04 Nov 2001 18:22
37 lines
2216 bytes
In article <3BE54E79.7BF5C659@rcn.com>, Tricia C. Sesar <trixee@rcn.com> wrote:
>"Jeffrey M. Vinocur" wrote:
>
>> In article <3BE4D06F.A71CA4A5@rcn.com>, Tricia C. Sesar
><trixee@rcn.com> wrote:
>>
>> >Typo; should read DNS round-robin.
>>
>> Uh, sure, you could do this.
>
>Your "uh" makes me think that you are aware of a better way to accomplish
>fail-over.

That's a fine way, I guess...it's just that generally people
don't put so much effort into news server reliability.  There's
not very much that can happen to INN, and if anything really gets
hosed, well, usenet isn't generally mission-critical.  (But for
you it may be.)  And setting up with xrefslave is a bit of a
pain, I think.


>> Readers, people sitting at their computers reading news.
>
>Taken from an INNd FAQ I found, "In a distributed architecture
>with a shared spool there is one feeder machine that handles
>incoming and outgoing news feed, multiple reader machines ...

Right.  I don't think you need this kind of performance -- this
is for major ISPs and such.

I'm wondering about how many readers you're going to have.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INNd server architecture
#54967
Author: Andrew
Date: Sun, 04 Nov 2001 20:05
29 lines
1875 bytes
In article <9s410m$d3k$3@marduk.litech.org>, Jeffrey M. Vinocur wrote:
> That's a fine way, I guess...it's just that generally people
> don't put so much effort into news server reliability.  There's
> not very much that can happen to INN, and if anything really gets
> hosed, well, usenet isn't generally mission-critical.

speak for yourself... :-)

(Though we don't run INN)

> (But for
> you it may be.)  And setting up with xrefslave is a bit of a
> pain, I think.

If you want multiple equivalent copies of your spool, which has the
advantage that losing one of them isn't fatal, then xrefslave or its
equivalent is the only real option.

[shared spools]
>Right.  I don't think you need this kind of performance -- this
>is for major ISPs and such.

for some values of "major" - we had to move _away_ from that method for
performance reasons some years back.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: INNd server architecture
#54968
Author: Jeffrey M. Vinocur
Date: Sun, 04 Nov 2001 20:33
38 lines
2419 bytes
In article <slrn9ub7rn.6c7.andrew+nonews@trinity.supernews.net>,
Andrew <andrew@supernews.com> wrote:
>In article <9s410m$d3k$3@marduk.litech.org>, Jeffrey M. Vinocur wrote:
>
>> And setting up with xrefslave is a bit of a pain, I think.
>
>If you want multiple equivalent copies of your spool, which has the
>advantage that losing one of them isn't fatal, then xrefslave or its
>equivalent is the only real option.

Quite.  But if you're just trying to approximate load balancing
and don't need to migrate clients (except in a catastrophe when
losing .newsrc wouldn't be a crisis), just assigning the clients
to one or the other server approximately evenly should work out
OK.

I think xrefslave could theoretically be improved to the point
that it wouldn't be a hassle -- currently there's this issue with
out-of-order article arrival -- but it's not something you just
do because there's no reason not to.


>[shared spools]
>>Right.  I don't think you need this kind of performance -- this
>>is for major ISPs and such.
>
>for some values of "major" - we had to move _away_ from that method for
>performance reasons some years back.

Heh.  I wasn't recommending it -- the one thing I really don't
know about is INN under heavy load -- just trying to rationalize
the cite.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INNd server architecture
#54971
Author: Tricia C. Sesar
Date: Mon, 05 Nov 2001 02:23
25 lines
2131 bytes
> For example: how important is it to you not to lose articles in the
> event of some screwup? If you use the shared-spool approach, then you
> will have only one copy of everything; having two independent spools
> at least means that trashing one spool is not necessarily fatal.

It is important to have fail-over. Again, my first thought was to
configure 2 Sun Enterprise boxes in a load sharing configuration, using
DNS round robin and having the two server synchronized. My only issue
with this sort of architecture is limited scalability.

>
> (BTW, if robustness is important to you, you probably want to avoid
> INN 2.3.x, which is notoriously fragile. INN 2.2.x with traditional
> spool is better in that respect.)

Hmm. Gotta look into that.

> I wouldn't even think about the shared-spool method unless you have a
> nice dedicated NFS toaster (NetApp or whatever) to play with as the
> spool.

Advice well taken.


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