Domain Data Grid in Payara Server 5

Cloud & Microservices

In Payara Server 5 we will be introducing some major changes to the way clustering is working by creating the Domain Data Grid (see documentation for more info). The Domain Data Grid will be easier to use, more scalable, more flexible and ideally suited for cloud environments and cloud-native architectures. All Payara Server instances will join a single domain-wide data grid for sharing of in-memory data like web sessions, JCache, SSO and Stateful EJBs. 

 

{{cta(‘9d4e5ef0-09a3-4215-b22a-2b83f84dc7ca’)}}

 

Data Grid.png

 

 

Previously in Payara Server 4, the concepts of data sharing, instance configuration and deployment targeting were all wrapped into one concept “the Cluster. In Payara Server 5, to provide flexibility, greater compatibility with the cloud and ease of use, we are separating these concerns. In Payara Server 5, all Payara Server instances in a domain will form a single domain-wide data grid and data will be shared across all instances transparent to the developer. This data grid, in the majority of cases, will require zero or very little configuration – it will just happen. Data stored in the grid is duplicated across 1 or more instances for high availability and the more instances that are added the more JVM Heap is available for in-memory data storage. This allows the grid to scale to large data sets by adding more Payara Server or Payara Micro instances without loss of performance on updates or retrievals.

 

For targeting of deployments, we will introduce a new concept simply called ‘deployment groups’. A deployment group will be a set of Payara Server instances that can be used for targeting of resources and deployments and start/stop operations. Individual Payara Server instances will be able to be in zero, 1 or many deployment groups providing greater flexibility over traditional clustering. In addition, Payara Micro instances will also be able to join the Data Grid and a new domain mode clustering option has been added to the Payara Micro command line flags. 

 

For cloud environments, there is no requirement to use Multicast for discovery of grid members. The data grid uses knowledge of the domain topology to find and discover other servers during boot and to join the grid. This eliminates complex configuration on cloud environments. We have tested this on major cloud IAAS platforms including Google Cloud Platform, Microsoft Azure and Amazon AWS and in all these of environments the Data Grid is formed with no configuration required. 

 

For those familiar with Payara Server 4, this means the old Shoal clusters, GMS and the old Hazelcast configuration has gone to be replaced with the new Data Grid. 

Introducing the Data Grid in Payara Server 5 enables us to build and expand exciting new technologies like the Clustered CDI Events, light-weight domain messaging and  Data Grid CDI singletons. 

 

We have lots of plans and are really excited by this evolution of the humble cluster! 

 
{{cta(‘b54b05ee-8a96-4bb4-8f00-7a7625302e33’)}}

 

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

SpringBoot Actuator Health for Microprofile Developers 7 minutes
Cloud & Microservices

Spring Boot Actuator Health for MicroProfile Developers

If you worked with MicroProfile Health, you already understand the value of exposing application health information through standardized endpoints. […]

Webinar banner for “High-Frequency Trading on Jakarta EE: GC Stress Testing with Azul C4 and Payara Micro,” March 25, 2026, 2 PM GMT. Features Azul and Payara Micro logos and speaker photos of Luqman Saeed, Jakarta EE Specialist, and Simon Ritter, Deputy CTO and Java Champion. 1 minute
Cloud & Microservices

High-Frequency Trading on Jakarta EE: Join Our Upcoming Live Webinar

Modern high-frequency trading (HFT) platforms operate under extreme performance constraints, processing tens of thousands of messages per second while […]

Illustration promoting the Payara Platform Community Survey, featuring bold text on a blue background alongside a clipboard with a checklist, star ratings, and check marks, with coral and fish graphics in an underwater theme. 1 minute
Community

Help Shape the Future of Payara Platform Community – Take Our 2026 Survey

Earlier this week, we’ve launched the 2026 Payara Platform Community Survey and we’d love to hear from you. If […]