Caching with Spring Boot and Hazelcast


If you build applications with Spring Boot, then you should consider a very easy way to make them run much faster with an embedded cache. Hazelcast IMDG easily plugs into your applications, and since it’s open source, it’s very easy to get started.

In this video, Hazelcast software engineer Rafal Leszko walks you through the steps for adding Hazelcast as a cache to your Spring Boot applications. There’s no extra server to install and no separate cluster to maintain. Everything you need will be embedded in your application.

As you’ll see in the video, Hazelcast doesn’t need to have separate caches for each application instance. Hazelcast discovers other instances and automatically turns your multiple application instances into a cluster. There’s no other effort on your part. This gives you a distributed cache that shares data across all application instances you run.