Modern Java Microservices in the Cloud
summary
Argues that modern = simplicity: avoid magic frameworks, limit moving parts, and prevent "calcification." Uses Java (Java 17), lightweight frameworks like Spark, Javalin, Helidon (prefers Skeleton), Postgres + jOOQ, Flyway, Testcontainers, constructor injection and immutable value objects. Revolut runs 90% of apps on Spark, maintains hundreds of thousands of unit tests and tens of thousands of functional tests, and publishes service clients as jars, ADRs and C4/PlantUML docs so changes are visible, reviewable and owned by maintainers.
AI-written summary · about
chapters (14)
- 0:00Introduction and welcome
- 2:22What makes a service modern
- 10:21Legacy and calcification explained
- 15:01Simplicity in the stack
- 19:54No magic frameworks approach
- 23:46Testing for longevity
- 26:14Immutability and type safety
- 30:10Why PostgreSQL at Revolut
- 33:20Maintainers and ownership model
- 36:13Documenting architecture decisions
- 39:43Service interaction patterns
- 41:07Cloud native and monitoring
- 42:37Capturing business reality
- 43:18Long-term software quality
