Scaling Secure Applications with Spring Session and Redis
Channel: OktaDev
Date: 2022-04-05

This screencast shows you how to configure a Spring Boot application to store sessions in Redis with Spring Session. The session will be shared among multiple nodes and preserved when a node failure happens.

Blog post: https://developer.okta.com/blog/2020/12/14/spring-session-redis
GitHub repo: https://github.com/oktadev/okta-spring-session-redis-example
Demo script: https://github.com/oktadev/okta-spring-session-redis-example/blob/main/demo.adoc
Comments: https://devforum.okta.com/t/scaling-secure-applications-with-spring-session-and-redis/17333

Table of Contents:

00:00 - Hello Java developers!
02:11 - Install prerequisites
03:32 - Build a Microservices Architecture with Spring Session and Redis
08:04 - Add Authentication with OpenID Connect
13:36 - Configure Spring Session and Redis
17:38 - Spring Session Redis with HAProxy Load Balancing
21:00 - Demo of everything working
23:04 - Scale to the moon!
23:21 - Follow us and subscribe

#SpringBoot #SpringSession #Redis
----
Okta is a developer API service that stores user accounts for your web apps, mobile apps, and APIs.

* Sign up for Okta for free at https://developer.okta.com/signup/
* For more info visit us at https://developer.okta.com/
* Developer Blog: https://developer.okta.com/blog/
* Follow us on Twitter: https://twitter.com/oktadev
* Follow us on FB: https://www.facebook.com/oktadevelopers/
* Follow us on LinkedIn: https://www.linkedin.com/company/oktadev

Soundtrack: Electronic Ambient Loop (https://freesound.org/people/tyops/sounds/484301/#) by tyops. CC Attribution 4.0 License (https://creativecommons.org/licenses/by/4.0/).