|
Home > Archive > Unix administration > January 2007 > A question about Linux cluster!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
A question about Linux cluster!
|
|
| Bo Yang 2007-01-06, 8:01 pm |
| Hi,
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!
| |
| Dave Hinz 2007-01-06, 8:01 pm |
| On Sat, 30 Dec 2006 22:43:45 +0800, Bo Yang <struggle@mail.nankai.edu.cn> wrote:
> Hi,
> 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.
Right.
> I have search for much stuff about how to achieve HA. But,
> how can I assure the response speed of my webserver.
Response speed depends on the individual nodes. HA depends on how you
distribute the load.
> I have read something about Load balancing... Is this a way
> to get high speed?
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?
| |
| Bo Yang 2007-01-06, 8:01 pm |
| Dave Hinz :
> On Sat, 30 Dec 2006 22:43:45 +0800, Bo Yang <struggle@mail.nankai.edu.cn> wrote:
>
> Right.
>
>
> Response speed depends on the individual nodes. HA depends on how you
> distribute the load.
I have a 1.6G Core on every node, does this enough for the webserver
to act fastly to users' requests?
>
>
> 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?
>
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!
| |
| Dave Hinz 2007-01-06, 8:01 pm |
| On Sun, 31 Dec 2006 20:40:33 +0800, Bo Yang <struggle@mail.nankai.edu.cn> wrote:
> Dave Hinz :
>
> I have a 1.6G Core on every node, does this enough for the webserver
> to act fastly to users' requests?
Webservers are rarely constrained by CPU, so that question doesn't
really mean what you think it means.
[vbcol=seagreen]
> 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!
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
need.
| |
| Bo Yang 2007-01-06, 8:01 pm |
| Dave Hinz :
> On Sun, 31 Dec 2006 20:40:33 +0800, Bo Yang <struggle@mail.nankai.edu.cn> wrote:
>
>
> 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
> need.
>
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?
| |
|
| Begin <encsfs$o46$2@news.cn99.com>
On 2007-01-02, Bo Yang <struggle@mail.nankai.edu.cn> wrote:
> But, I am not familiar with cisco product, and I didn't
> have enough money, I think.
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.
> Is there any solution based on Linux that I can choose?
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.
|
|
|
|
|