Lessons learned about building microservices and reactive systems
summary
Argues that microservices and reactive buzzwords are overused and shows concrete design rules learned running several real projects: favor asynchronous messaging via message brokers to decouple services, build autonomy through clear responsibility and isolation, and use Saga for long-running transactions (order service emits events, payment service compensates on failure) instead of distributed synchronous commits. Recommends SLI/SLO monitoring, event correlation for tracing, and pragmatic monolith-first evolution; the patterns reduce coupling but add operational complexity that must be measured.
AI-written summary · about
chapters (21)
- 0:00Introduction and agenda
- 1:05Need for microservices
- 3:33Microservices vs monoliths
- 6:04Monolith versus microservices debate
- 8:36Reactive manifesto fundamentals
- 10:00Asynchronous design principles
- 12:54Microservices autonomy benefits
- 15:33Partitioning in microservices
- 17:00Single responsibility principle
- 18:47Designing modern distributed systems
- 20:11Event-driven communication
- 21:18Transparency in distributed systems
- 22:22Information distribution challenges
- 24:07Managing distributed transactions
- 25:36Saga pattern for transactions
- 27:00Order and payment workflow
- 28:05Distributed tracing solutions
- 29:09Service level monitoring
- 30:15Resilience and system recovery
- 31:00Key takeaways and conclusions
- 33:30Future directions and Q&A
