
stone at tgarg
Nov 18, 2000, 11:47 AM
Post #3 of 3
(1072 views)
Permalink
|
Umm. Well, it's not automagical or anything. :) First off, it integrates transparently to the attaching http client. They see no difference. Inside of the apache/backhand daemon is where the automagical inspirations take place. In the Apache config file you can specify rules by file type, extentions, and directories. A few of the rules include: forwarding to specific machines, balancing in a cluster based on load, and balancing in a cluster based on metacomputer weights determined on a calculation of CPU/IO/Memory usage compared to a threshold value. As long as the content is available locally and remotely from all http servers then you can build a very scaleable mix of machines, serviing up everything or balancing certain tasks between certain groups of machines. Some very nice things can be created with Backhand and layer 4 software(LinuxDirector) or hardware(CiscoDirector) switches and even benefits can be gained with out these switching systems in front of it. This can lend it's self to a very complicated mesh of Apache servers or a very simple setup. You can have a single machine answer the front and hand off all CGI/JPEGs/HTML from the appropriate cluster of machines.. Such as Suns to crunch CGI, JPEGs from the hi-avail raid farm, and HTML from some cost effective X86's. This can be very beneficial for distributing http requests in any environment. Take a another scenario.. You have 3 machines.. 1 web server, a mail server and a dns server. Your web server tanks every night starting at 6pm... Your dns and mail servers load is near next to null but you can't afford to convert them into fulltime servers for whatever reason. You load up backhanded apache on your web, dns, and mail server. All you incoming http requests bounce from www, to dns because it's load is always next to nothing and it's a P-III 500. Then all of a sudden you dns server gets crammed in the dirt because some guy is doing a recursive walk across some domains you are the authority for.. Instead of the web server crawling and tanking it starts shoving http clients transparently to the P-II 400 mail server. During the middle of this fiasco the power supply burns in the mail server and because the web server(a P-II 266) has exhausted it's resources.. it is forced to serve the requests itself. Because the weight computation and internal forwarding is a negligible amount of time, the clients can't tell the difference and with the innovations in high availability SCSI bus, FCAL fabrics with JDOBs, or and super NFS servers.. high availability clustering is now conceivable with off the shelf parts and open source software. Happy hacking. On Wed, 15 Nov 2000, Peter Laurie wrote: > Hi > > I'm writing a new chapter for our book: 'Apache The Definitive Guide', which > will try to describe mod_backhand. I start, like a good journalist, from a > position of ignorance.
|