JMeter is an open source application written in Java, developed by the folks from The Apache Software Foundation, which allows one to perform load tests against their webservers.
JMeter allows you to run tests from you workstation against your servers, but you can also setup virtual test servers that would allow you to run a heavier load.
If you run JMeter from your machine, you’ll probably end up consuming tons of cpu and memory, depending on how large your tests are, so, to avoid that, you can seetup your workstation as a JMeter MASTER and any number of virtual machines as JMeter SLAVES, which you will be able to control from your workstation. This setup is called Distributed JMeter Testing and that is what I’ll walk you through in this tutorial.
I’ve finally gotten to writting a new tutorial after a while without posting any new content. Also, in case you haven’t noticed, I have re-designed the site, so hopefully you’ll be able to enjoy it even more. In this tutorial, I’ll show you how to setup a load balancer running on linux, with CentOS as the operating system of choice for this tutorial.
A load balancer distributes requests for services accross multiple servers, and in this tutorial I’ll be walking you through setting up crossroads load balancer.
In this tutorial I’ll walk you through setting up 3 Apache virtual hosts running on a single Ubuntu server. An Apache virtual host, as explained by Apache, refers to the practice of running more than one web site (such as www.company1.com and www.company2.com) on a single machine. Virtual hosts can be “IP-based” or “name-based”. By default, Ubuntu already has this capability enabled, so things are much easier to configure these days. Enough with the intro, this is how you do it: