High impact Web tier cluster, Part I: Using javagroups extension

Source: Internet
Author: User

As the Java EE platform matures, in order to extend Web services and applications on the Web layer, a low-cost server (commodityservers) can be deployed in a networked cluster configuration. These low-cost servers are interconnected with inexpensive LAN hardware to provide a cost-appropriate cluster solution. The last cluster challenge is the software side. In this series of articles, Singli analyzes three open source software foundations that allow high impact Web tier clustering, first introducing javagroups.

On the Internet, the popularity of Web applications and Web services based on Java EE will push the needs of thousands (or more) of users to the foreground. In many commercial deployments, this is no longer a "future available" luxury, but a necessity. In this competitive business environment, an online store will not survive if customers hang up or crash. Although scalable solutions for the Java EE Model's transaction layer (for databases, transaction listeners, message queues, and so on) are widely available, solutions to extend Web applications or services on the Web tier have just surfaced. In this series, we'll look at a few software technologies that can be applied to extend the application at the Web tier. Each technique takes a different approach and solves a slightly different set of problems. In this first article, we will explore a popular open source distributed communication base, which is javagroups.

Extending applications in the Web layer

There are a number of proven and reliable ways to extend the web layer. The most intuitive way to increase the number of concurrent sessions processed by a service is to add resources to the application server. These resources include memory and disk space (storage resources) and CPUs (compute resources). Figure 1 illustrates this single machine approach to extensibility:

Figure 1. Extending the Web tier on a single SMP server

The obstacle to this approach is the limited address space used by the processor and the limitations on inexpensive symmetric multiprocessor (symmetric MULTIPROCESSOR,SMP) hardware (reasonable cost). With more than four servers configured, a dedicated or customized hardware may be required to handle the resource load, and the control and maintenance of the system quickly becomes expensive. These restrictions impose an actual upper limit on the number of user sessions that can be handled on the WEB layer by using a single-server solution.

In addition to the session limitations, a single-server solution is often not a robust solution because of its single point of failure. Availability is discontinuous because services are not available when a single server fails. Although the problem has many possible technical solutions (such as hot-swappable, redundant backup resources), these solutions are expensive.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.