Migrating a modern spring web application to serverless
summary
Migrates the Pigslot reservation app to serverless by replacing server-side Thymeleaf with an Angular frontend on S3 and splitting the backend into AWS Lambdas (Java via Spring Cloud Function and some Node.js), orchestrated by AWS Step Functions, with Postgres on RDS, DynamoDB for WebSocket client state and Cognito for auth. Uses Terraform then SAM/CloudFormation for deployment, hits noticeable cold start latency for Java but pre-warms at the 10:00 rush, requires deploying to cloud for reliable tests, and succeeds while increasing operational complexity.
AI-written summary · about
chapters (12)
- 0:00Introduction to serverless
- 3:28Defining serverless architecture
- 6:15The use case: slot reservation
- 8:48Architectural migration
- 13:12Language and platform choices
- 15:12Implementing functions
- 20:02Orchestration and testing
- 22:54Code implementation demo
- 26:18Backend as a service
- 28:41Operational infrastructure
- 33:50Deployment and monitoring demo
- 40:19Conclusion and Q&A
related talks
45mPatterns & practices for developing enterprise-scale serverless applications
42mEnterprise Serverless Adoption. An Experience Report
14mThinking Twice About Migrating to Serverless
39mServerless in production, an experience report
01h 02mFrom Monolith to Serverless
07mA Serverless Journey
01h 04mMigrating to Serverless - an experience report
43mServerless in Java Lessons learnt
