Java: From Stateless-Serverful to Stateful-Serverless
summary
Argues that replacing stateless-serverful with stateful-serverless cuts database IO by keeping per-entity state hot in memory and using a single-writer model, demonstrates a Java event-sourced shopping cart built with Akka Serverless from protobuf to generated Java classes, emits domain events, defines CQRS views, and deploys via Maven/Docker with no manual schema or DB wiring so persistence is managed by the platform. Demo runs live, supports polyglot clients, and shows noticeably fewer DB roundtrips and simpler deployment.
AI-written summary · about
chapters (6)
- 0:00Introduction to talk
- 1:20Stateless vs stateful systems
- 12:34Akka Serverless overview
- 27:10Deploying stateful services
- 36:23Code walkthrough and demo
- 41:27Conclusion and Q&A
related talks
53m"Serverless" Is What J2EE Was Meant To Be
49mServerless Event-Driven Services for Spring Developers
31mServerless Java in Action: Cloud Agnostic Design Patterns and Tips
24mServerless Java hacks: Think different and leave old habits...
52mContainerless, Bloatless, YAML-less, Serverless Java #slideless
25mCloudstate—Towards Stateful Serverless
53mAdapting Java for the Serverless world
45mThe Evolution From Monolith to Microservices to Serverless and Beyond
