Cross site and cross applications with Red Hat OpenShift and Red Hat Data Grid

Learn how to develop applications using Quarkus, .NET Core 7, and Golang that are distributed in two different Red Hat OpenShift clusters and share data with each other through Red Hat Data Grid via cross-site replication.

In order to facilitate testing and speed up verification, we have provisioned an Ansible Playbook that runs the steps directly on the clusters and validates that the deployment meets the requirements. Check below the execution of the playbook on our test environment.

Don't forget to configure the playbook variables with your test environment information (Figure 28).

Running test scenarios with Ansible Playbook
Figure 28: Running test scenarios with Ansible Playbook.

Conclusion

We hope that this article has demonstrated that through the use of a distributed grid, it is possible to achieve quite satisfactory levels of heterogeneous data replication. We demonstrated that in addition to supporting clients that use the Hot Rod protocol, the Data Grid also offers a rich REST API that allows virtually any technology to connect to it and use many of its features. We also demonstrated one of the ways to configure a Data Grid cluster with high availability and real-time data replication, even in geographically distributed locations.

Previous resource
Testing the solution