February 2018
Intermediate to advanced
406 pages
9h 55m
English
A distributed cache such as Hazelcast, Gemfire, and/or Coherence is network-aware and the cache instances operate either as an in-process model (peer-peer model), where the cache is part of the service runtime, or a client-server model, where the cache request goes from the service to separate dedicated cache instances.
For this example, we have selected Hazelcast, as it is a very lightweight but powerful distributed caching solution. It also integrates very well with Spring Boot. Here is how:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId> ...
Read now
Unlock full access