The harsh reality of Event Sourcing - mitigated with Spring and Axon on Tanzu Application Platform
summary
A live demo of a bike-rental app built with Spring Boot, Axon, and Tanzu Application Platform (Cartographer, buildpacks, Kpack, Knative) tries to scale globally and fails under load. Key findings: storing events in a relational DB slows as event streams grow, loading aggregates becomes costly, naive local caching regresses at scale, and scale-to-zero harms Axon startup. Remedies demonstrated include snapshotting, consistent hashing for command routing, and subscription queries for realtime UI; final demo still experiences deployment/startup and scaling rough edges.
AI-written summary · about
chapters (14)
- 0:00Introduction to A.D. Bike
- 1:32Scaling on Kubernetes
- 3:26Automating CI/CD pipelines
- 6:12Buildpacks and Kpac
- 9:10Knative and eventing
- 12:38Event sourcing architecture
- 15:01The harsh reality of scaling
- 19:12Performance optimizations
- 24:11Handling consistency
- 27:30Subscription queries
- 30:31Message routing patterns
- 35:51Live demo and troubleshooting
- 40:50Framework integration
- 44:40Q&A and closing
related talks
52mHidden gems and traps that you probably didn't think of using Event Sourcing
50mEvent Driven Microservices with Axon and Spring Boot: excitingly boring
39mPragmatic Microservices with DDD, CQRS and Event Sourcing Using Axon Framework
45mThe Practical Road towards CQRS and Event Sourcing
47mCQRS and Event Sourcing on Steroids: Lessons Learned with Spring & Axon
55mHands-on introduction o CQRS and Event Sourcing with Axon
46mAxon Framework : A CQRS Approach to Microservices
51mBootiful CQRS and Event Sourcing with Axon Framework
