Redis

Spring Boot Redis with Lettuce vs Jedis: Setup and Pooling

Connect Spring Boot 4 to Redis with Lettuce or Jedis. Compare the two clients, set the spring.data.redis properties and the commons-pool2 pool, use RedisTemplate, StringRedisTemplate and a @RedisHash repository, and test with Testcontainers.

Redis Pub/Sub with Spring Boot Data

Learn to use Redis Pub/Sub with Spring Boot Data, and configure the message publishers and subscribers (listners) for a given channel topic.

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.