Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Web Application Deployment module A690
Clustering and load balancing
Exercises, examples and other material relating to training module A690. This module is presented on Private Courses and Specially Run Courses only

Background
If you've too much web traffic for a single server, or you need multiple servers for robustness in the event of a failure, you'll need a scheme for clustering or balancing. Specialised hardware solutions are possible, but you can also use an instance of Apache httpd to front a number of back room servers (httpd, Tomcat or something else).
Related technical and longer articles
Load balancing and robustness - httpd, tomcat, PHP, Servlets, MySQL
Load Balancing and Clustering
The proxy jServ, jk, jk2, warp and jk story

Articles and tips on this subjectupdated
4432Java web application for teaching - now with sessions and clustering / load balancing demonstrations
I regret naming "latmjdemo" with that name when I prut together a web application for the Java version of our web deployemnt course. The nameing isn't random: • L - Linux, the operating system • A - Apache - the Apache httpd web server that's commonly used to front web sites • T - Tomcat ...
2015-02-19
 
1121Sharing the load with Apache httpd and perhaps Tomcat
"Can you show us how to share the load of a web site between various servers" is one of the question that comes up quite often on the more advanced web server configuration courses that we run. And, yes, I can, but I'll probably ask you a lot of extra questions about exactly how you want to load balance ...
2013-02-23
 
3892Distributed, Balanced and Clustered Load Sharing - the difference
If one web server isn't enough to handle all your traffic, you can share the load. But you need to be careful that you "maintain state" for your visitors if you're running applications that involve a series of forms / inputs that follow on from each other. Specialist hardware load sharing devices ...
2012-10-20
 
3339Simplest ever proxy configuration?
Scenario ... Apache Http Server fronting an Apache Tomcat server. Http Server has mod_rewrite and mod_proxy installed. When we first did httpd and Tomcat courses, getting the two to talk to each other involved builds of extra modules and all sorts of configuration. I did my "simplest ever" this ...
2011-06-28
 
3293Distributing the server load - yet ensuring that each user return to the same system (Apache httpd and Tomcat)
Have you ever tried to sort out a complex situation with a supplier - perhaps something's gone wrong with your electic and gas bills (as happened with us a couple of months ago, when our gas payment got credited to our electic account with the same company). You get on the phone, and the initial person ...
2011-05-18
(longer)
2483Clustering on Tomcat
Subject: Clustering, using Apache http server (version 2.2.14 in my example) with mod_proxy_balancer as the front load splitter and Apache Tomcat 6.0.20 as the replicated application engine. [[Tip should also work for other recent 2.2.x and 6.0.x versions]] Background This is a follow on article from ...
2009-11-11
(longer)
2482Load balancing with sticky sessions (httpd / Tomcat)
Subject: Load balancing with sticky sessions, using Apache http server (version 2.2.14 in my example) with mod_proxy_balancer as the front end balancer and Apache Tomcat 6.0.20 as the application engine. [[Tip should also work for other recent 2.2.x and 6.0.x versions]] Background When you have too ...
2009-10-30
(longer)
2059Sharing the load between servers - httpd and Tomcat
If you're running a lot of traffic through an application, it's possible that one web server can't cope ... not so much because of the traffic levels, but because oomph the computer. Customer's applications range from financial to transport planning. The amount of compute behind the calculation of ...
2009-03-02
 
1995Automated server heartbeat and health check
Occasionally - very occasionally - we may have a problem on our public facing web server that's hosted in some network operation centre or other. It could be a software glitch, or it could be an internet connectivity issue. And we need to know about it quickly! The problem is than none of us might ...
2009-01-16
 
1993Load Balancing - Hardware or Software?
If you're fortunate enough to be looking after a web site that's so busy that a single server can't handle all of your traffic, what should you do? One popular approach is to use a piece of specialised hardware - a load balancer - that sits in front of your network and distributed requests to a series ...
2009-01-15
 
1771More HowTo diagrams - MySQL, Tomcat and Java
Here are some more diagrams "off the wall" from last week - showing "howto" and "whatis" information for Tomcat, Java and MySQL Some Tomcat and Java Fundamentals On the right of the board ... the main java programs ... • the Java compiler is called javac • the Java Virtual machins is in a ...
2008-08-24
(longest)
934Clustering, load balancing, mod_rewrite and mod_proxy
"It's not friendly - it's like a reference book". Customer comment on yesterday's tailored training day, where we were load balancing a web application between a number of back end servers, using Apache httpd, with mod_proxy and mod_rewrite to do the clever bits. Our customers are right - it IS tough ...
2006-11-26
 
Examples from our training material
server.xml   Tomcat 6.0 server.xml with named jvmroute
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from [here].
Topics covered in this module
What is clustering?
What is load balancing?
Which should you use?
Keeping the cluster or balance servers in step.
Sticky sessions.
Failover.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Linux and LAMP,Ruby, Lua, Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.info/resources/A690.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb