concept multiple application server instance in category jboss

appears as: multiple application server instces, multiple applications server instces
JBoss in Action: Configuring the JBoss Application Server

This is an excerpt from Manning's book JBoss in Action: Configuring the JBoss Application Server.

Imagine you have a retail web application running on a single application server instance and that you average 10,000 customers a month. Your company decides to run a TV advertisement and predicts that you may start getting 100,000 customers a month. You’re tasked with making sure that the application can support this number of users. In addition, your application needs to be highly available. To accomplish these goals, you have to deploy multiple application server instances and balance requests across them.

Load balancing is a way of balancing incoming load, or concurrent requests, across multiple application server instances, making your applications scalable and highly available. Scalability is a term used to describe the ability to make your application handle more user load by adding hardware and/or creating redundant instances of your application without having to change code. Load balancing can help scale your application because you can add more servers for the load balancer to balance the load across, increasing the amount of traffic your application can handle. High availability is the ability to continue processing requests in the face of server failure. We discuss high availability more in section 12.1.4.

The third alternative, and one apropos to this chapter, is to run a second instance of the application server on the same box as an existing instance. This alternative assumes that you have a fairly decent-sized system on which you can easily run multiple application server instances. If you decide to go this route, there are a few things to keep in mind, such as the following: