[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql
Subject: Re: Optimizing a P133 for MySQL
From: Van <vanboers () server ! dedserius ! com>
Date: 1999-07-16 5:27:58
[Download RAW message or body]
Orlando Andico wrote:
>
> On Thu, 15 Jul 1999, Ed Carp wrote:
> ..
> > Not as easy as it sounds? Like doing something like this is hard?
> >
> > #! /bin/sh
> > #
> > # run this from your main index.html page or whatever
> > #
> > # redirector machines are named server1-server10.domain.com
> > #
> > (for i in 1 2 3 4 5 6 7 8 9 10
> > do
> > echo `rsh server${i} "ps -ax|grep httpd"` server${i}.domain.com
> > done)|sort -n|head -1|cut -f2 -d' '
> >
> > This little piece of code will give you the machine that has the least
> > number of httpd processes running on it. From there, it's trivial to
> > build a page to send to the client to redirect the process to that server.
> >
> > If this is worth $25K, I'm really in the wrong business!
>
> Well the Local Director does other things as well, and its switching is
> done purely in hardware (it's basically a router/switch) so the
> reliability is up there. As for this code.. exactly how are you doing to
> use it? I see your concept, but how to you convert that into a working
> setup?
>
Orlando,
That is a major working set up. The only step left is to toss in the
includes and compile it. >:)
Van
--
=========================================================================
Linux rocks!!! http://www.dedserius.com
=========================================================================
---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail mysql-thread7510@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail mysql-unsubscribe@lists.mysql.com instead.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic