Hazelcast – Data Structures java.util.concurrent package provides data structures such as AtomicLong, CountDownLatch, ConcurrentHashMap, etc. which are useful when you have more than one thread reading/writing data to the data structure. But to provide thread safety, all of these threads are expected to be on a single JVM/machine. There are two major benefits of distributing […]
Category Archives: hazelcast
Hazelcast – Configuration Hazelcast supports programmatic as well as XML-based configuration. However, it is the XML configuration which is heavily used in production, given its ease of use. But XML configuration internally uses the Programmatic configuration. XML Configuration The hazelcast.xml is where these configurations need to be placed. The file is searched for in the […]
Hazelcast – Spring Integration Hazelcast supports an easy way to integrate with Spring Boot application. Let”s try to understand that via an example. We will create a simple API application which provides an API to get employee information for a company. For this purpose, we will use Spring Boot driven RESTController along with Hazelcast for […]