angus.wood at inspiredbroadcast
Jun 15, 2004, 5:31 AM
Post #3 of 3
On Tue, 15 Jun 2004 12:14:03 +0200, <jh [at] netfielders> wrote:
Re: Does mod_backhand need the filebase ?
[In reply to]
> Hi !
> If I have a webserver with mod_backend installed, which passes requests
> backend-servers with also mod_backend installed, are the scripts passed
> through, or does it need the same filebase (common fileserver) ?
Yes, it does. NFS mounts work well, but I prefer to use 'dssh' for
managing the cluster.
See http://dcmd.sourceforge.net for the source code, and
for an article explaining its usage.
What I tend to do is install things on my 'master' front-end server and
just 'dscp /opt/ap_b/cgi-bin/* :/opt/ap_b/cgi-bin/' which installs the
codebase on all the farm machines.
> Having a script which is generating images, how actualy does mod_backhand
> work ? Are the images saved on the backend server, or on the frontend
> which recieves the requests ?
mod_backhand organises passing the request for the URL to one of the
machines in your cluster, and passing the response from that machine to
the calling party. If (say) you have 10 machines with a script on them
which creates an image, saves it in /tmp/ and then serves it out then
after doing one request you'll have one of your 10 machines with an image
in /tmp/. Which one that is depends on how you've configured the candidacy
and sorting functions.
Angus M Wood
Inspired Broadcast Networks
Out of Home Pay to Play Networked Entertainment
1st Floor, 1-7 Livonia Street, London, W1F 8AD
Tel: +44 20 7287 5813
Mob: +44 7767 393039
Fax: +44 20 7287 0131
backhand-users mailing list
backhand-users [at] lists