Distributed Caching with Redis for SrpingBoot Apps in Action

Distributed Caching with Redis for SrpingBoot Apps in Action, Implementing Various R/W Cache Patterns, & Web Session State Cache, Security (ACLs) & Cache Eviction, with demos.

Description

This is a 2 hours free crash course on implementing distributed cashing with Redis in SpringBoot Apps, developed in 3 parts (and 6 sections). This is implementation & demo oriented course.

In Part1, we will cover the overview of Distributed Caching” and “Redis”, various Read Write Caching Patterns & Pitfalls. We will conclude with a demo, by implementing R/W cache patterns in SpringBoot REST API, using Spring-Data-Redis.
Part-1 : Various R/W Cache Patterns

Introduction

Session Overview

Tools and Software required

Distributed Caching Overview (& expectations from cache manager)

Why Redis ?

Popular R/W Caching Patterns

Redis Client: Java Cache Providers (and JSR107 and Spring Cache Abstraction)

Demo over view

Demo Build the Spring Boot APIs (with no cache)

Test (nocache) APIs with Postman

Add Caching feature to code

Test caching (postman, redis-cli monitor, RedisInsight)

Points to keep in mind while considering caching & Sample good use cases

Common Pitfalls

Part-2.1 : Security (ACLs)

Security and access control lists (ACLs) in Redis,

Demonstrate security implementation in the springboot app we built in Part-1

Part-2.2 : Redis Modules (RedisJSON & RedisSearch)

Quick demo using RedisJSON and RedisSearch.

Part-3.1 Caching Web Session Data

An overview of Web Session Data

Demonstrates the implementation using Spring-Session-Data-Redis with in a SpringBoot Web Application

Part-3.2 Cache Eviction Policies and TTL (Server and Client Side)

Introduces Eviction Policies and TTL concepts. Concludes by implementing and demoing this using applications we built in Part-1 (Rest APs) and Part-3 (web application).

Resources and Material

Final section includes the resources (i.e. Git repo link to the code, deck ) and links and resources for further & deeper study.


Free $19.99 Redeem Coupon
Online Tutorials
Show full profile

Online Tutorials

Online Tutorials is a website sharing online courses, and online tutorials for free on a daily basis. You can find the best free online courses and thousands of free online courses with certificates to take your knowledge to the next level with the free courses.

We will be happy to hear your thoughts

Leave a reply

Online College Courses
Logo
Register New Account