Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Payara Logo

Payara Micro Cluster

The JPS package initially deploys one container with Payara Micro application server.



Horizontal Scaling

When application server cluster scales out new containers join the cluster automatically. When it scales in the cluster removes deleted containers automatically. Underlying clustering mechanism is based on Hazelcast.

Scaling can be triggered manually via Jelastic Topology Wizard or automatically by defining horizontal scaling triggers or via Jelastic API.

Vertical Scaling

Each container with Payara Micro application server can be scaled vertically by increasing the total RAM limits for the container. By default, optimal memory configs will be applied to JVM according to the available RAM. You can redefine default configs with environment variables such as XMX, XMS, XMN, MAXPERSIZE, XMAXF, XMINF, GC or directly adjust the memory configs script.

Resource Consumption

The package injects Jelastic GC Agent that helps to scale JVM vertically automatically by forcing memory heap compaction periodically (by default, each 300 seconds). As a result the application consumes less RAM during idle time.

JVM Automatic Vertical Scaling

This approach helps to save money and not to pay for unused resources. More details about the benefits of this technology can be found in the article The Only PaaS with Automatic Vertical Scaling for Containers.

Please note, Full GC is used by the agent. If it significantly influences performance of your application then you can easily disable the agent injection by defining environment variable VERT_SCALING=false.


In order to get this solution instantly deployed, click the "Get It Hosted Now" button, specify your email address within the widget, choose one of the Jelastic Public Cloud providers and press Install.


To deploy this package to Jelastic Cloud, import this JPS manifest within your dashboard (detailed instruction).

More information about Jelastic JPS package and about installation widget for your website can be found in the Jelastic JPS Application Package reference.