Exploring Stateful Microservices Built with Open Liberty in Kubernetes
summary
Demonstrates keeping HTTP session state using Open Liberty with JCache with Hazelcast to back a simple shopping‑cart REST API (JAX‑RS) and runs locally via mvn liberty:run; shows the server starting and session data persisting across requests. Explains Kubernetes options—StatefulSet and PersistentVolume and cookie affinity—for cluster deployment, and describes long‑running transaction handling via the Saga pattern / MicroProfile LRA as a compensation-based alternative to two‑phase commit. Guides and demo code are available; the local demo builds and shows session persistence working.
AI-written summary · about
chapters (8)
- 0:00Introduction to stateful microservices
- 1:05Stateful vs stateless explained
- 8:31Stateful in cloud native world
- 12:43Cloud native computing basics
- 19:30Preserving state in cloud native
- 26:10Saga pattern for stateful services
- 39:54Demo: HTTP session caching
- 50:39Q&A and resources
related talks
50mExploring Stateful Microservices built with Open Liberty
54mExploring Stateful Microservices built with Open Liberty in Kubernetes
54mExploring Stateful Microservices in the Cloud Native World
51mExploring Stateful Microservices in the Cloud Native World
51mExploring Stateful Microservices in the Cloud Native World
55mLive Coding: Cloud native Application Development with MicroProfile & Open Liberty
38mExploring Stateful Microservices in the Cloud Native World
39mLive Coding: cloud-native application development with MicroProfile and Open Liberty
