📜 ⬆️ ⬇️

GlassFish clustering in Jelastic

As you already know, GlassFish is a highly reliable Java EE application server with full support for industrial clustering and a wide range of functions.
Until recently, Glassfish was used in Jelastic Java PaaS just as a separate server, but now we support all the functions of this server, including high availability (HA).
image
We saved GlassFish's native cluster architecture, which is based on the concept of an administrative domain. Administrative domains consist of clusters and instances that are controlled by the Domain Administration Server ( DAS ).

You can manage the central repository using the admin console . This is an easy-to-use GUI that supports all the features available in Glassfish. DAS manages Java domain instances, and GMS (Group Management Service) is responsible for providing information about the cluster and its instances.



Session replications in GlassFish

image
Instances in clusters are divided into pairs. If one of the instances falls, users whose requests were processed on it are automatically transferred to another instance of the cluster. The Instance-Partner already has all the sessions of the fallen down, so that the end user will never notice any changes. If both instances fail, user requests are redirected to another cluster. Jelastic uses a NGINX balancer to redirect requests (as is the case with other application servers).
')

Scaling

Of course, we have not forgotten about scaling. Both horizontal and vertical scaling is provided for increasing or decreasing server load. This means that both the size and the number of clusters can change. Jelastic is the first PaaS that provides such a perfect scaling system.

Jelastic's GlassFish cluster architecture is very close to standard, so you can use all of its features and even a little more.

You can still try Jelastic for free at jelastic.com . Do not miss this opportunity!

Source: https://habr.com/ru/post/136996/


All Articles