Cloud Zone is brought to you in partnership with:

Java. Music. Tech. Travel. Judah has posted 10 posts at DZone. You can read more from them at their website. View Full User Profile

GlassFish Clustering within Jelastic

01.16.2012
| 7356 views |
  • submit to reddit

GlassFish is an open-source application server that can run any Java EE application, providing enterprise level reliability and performance with full clustering and has wide functionality range.

Up until now, GlassFish could be used as a separate server within Jelastic, but now you have the option for high-availability for GlassFish, allowing for full instance and cluster replication.

We kept the native GlassFish clustering architecture, based on the concept of an administrative domain. Administrative domains consist of clusters and instances, which are controlled by DAS (Domain Administration Server).

You can manage the central repository using the Admin Console. It is an easy to use GUI which supports all features available in GlassFish.  DAS manages Java instances in the domain. GMS (Group Management Service) is responsible for providing the information about a cluster and its instances.

What about session replication in GlassFish?

Instances in clusters are paired up. If one of the instances fails, the users who were on that instance get automatically switched to the other instance in the cluster. The replicated instance has all of the sessions that were in the failed instance: end-users never notice any change. If for some reason both instances in a cluster fail, users get redirected to another cluster. Jelastic uses NGINX as a load balancer, which can redirect users' requests when instances fail.

And we didn't forget about scaling. We provide automatic horizontal and vertical scaling capabilities for when loads increase or decrease; so the number and size of clusters can change. Jelastic is the first PaaS which provides such a complete scaling system.

The GlassFish clustering architecture in Jelastic PaaS is very similar to the standard setup and you can use all its capabilities and even a few more. You can try it at http://jelastic.com!

Published at DZone with permission of its author, Judah Johns.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Pavel Tavoda replied on Mon, 2012/01/16 - 5:45pm

Guys at Jelastic provide good and solid engineering. I'm really interested what will be price when they 'open' real shop. Maybe it will be some solution which will provide good price for average and high traffic sites. Others hostings are too expensive now for such kind of load.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.