A question about Linux cluster!

A question about Linux cluster!

Post by Bo Yan » Sun, 31 Dec 2006 23:43:45

Now,assuming I want to construct a website for my laboratory.
I have no super computer but twenty PCs. I want to use these
PCs in the form of clusters.
I think the website will get tons of visits every minute.
So, it must to be high available and fast enough.
I have search for much stuff about how to achieve HA. But,
how can I assure the response speed of my webserver.

I have read something about Load balancing... Is this a way
to get high speed?

Could you please give me some advice?
Thanks in advance!

A question about Linux cluster!

Post by Dave Hin » Mon, 01 Jan 2007 00:03:59


Response speed depends on the individual nodes. HA depends on how you
distribute the load.

Load balancing will give you high speed if the individual nodes you load
balance to, are not overloaded. How are you planning to measure this?


A question about Linux cluster!

Post by Bo Yan » Mon, 01 Jan 2007 21:40:33

Dave Hinz :

I have a 1.6G Core on every node, does this enough for the webserver
to act fastly to users' requests?

Could you please give me some advice on how to do load balancing in
Linux clusters?
I have read some stuff about Condor, HeartBeat,DRBD,LSV...but without
a practical solution in my mind!

A question about Linux cluster!

Post by Dave Hin » Tue, 02 Jan 2007 02:28:48

Webservers are rarely constrained by CPU, so that question doesn't
really mean what you think it means.

Stick a Cisco load balancer, or an F5 in front of it, set 'em up as
"least connections", and call it a day. Any fine-tuning beyond that
will get you incremental improvements, that gets you 95% of what you

A question about Linux cluster!

Post by Bo Yan » Wed, 03 Jan 2007 14:17:05

Dave Hinz :

thank you Dave.
But, I am not familiar with Cisco product, and I didn't
have enough money, I think.
Is there any solution based on Linux that I can choose?

A question about Linux cluster!

Post by jpd » Wed, 03 Jan 2007 14:45:13

Begin <encsfs$o46$ XXXX@XXXXX.COM >

You can spend time and money on a lot of things, be it prefab solutions,
consultants, hardware, acquiring the knowledge yourself, or something
else again. There is no universal right solution and from what little
you have told it is hard to guess.

To figure it out, you will have to consider much, much more precisely
what the parameters are: Number and configuration of machines, software
used, how `dynamic' the website is and whether and how much it relies on
backends like databases, what the expected request load is, and so on.

Free software solutions tend not to be of the choose and drop-in kind,
but you usually have to know quite a bit about what you are doing to
make it work well. You could search for `reverse proxy' and see if that
helps you.

j p d (at) d s b (dot) t u d e l f t (dot) n l .
This message was originally posted on Usenet in plain text.
Any other representation, additions, or changes do not have my
consent and may be a violation of international copyright law.