Managing Session State with REDIS and Spring Data Redis
summary
Shows a production architecture that externalizes session state with Redis + Spring Session/Spring Data Redis, using a gateway and BFF so multiple microservices share one session store; implements session IDs in headers, WebSocket support, session pre-warming and key expiry. Runs Redis either self‑hosted or managed (ElastiCache ~35% cost premium vs EC2), monitors memory, connected clients and RDB changes with Telegraf/Influx, and shards for scale. A sample GitHub app models the design and teams use it successfully at large scale.
AI-written summary · about
chapters (9)
- 0:00Introduction to Session State
- 2:37T-Mobile business context
- 5:33Web application state
- 8:51Architecting for state
- 13:45Spring Session overview
- 17:36Redis technology fundamentals
- 20:35Redis deployment options
- 24:39Monitoring Redis
- 28:20Use cases and conclusion
related talks
51mIntroducing Spring Session 2
14m5 great ways to reimagine your data layer
50mNext Level Redis With Spring Data
48mReal-Time Analytics with Spring + Redis. Is It Possible?
24mWhen Real Time Meets Big Data & Analytics
56mRedis Application Patterns in Rails
46mSpring Data Redis as a Bad Choice
59mUsing Redis beyond caching
