Rethinking Microservices with Stateful Streams
summary
Argues that keeping a canonical immutable log in Apache Kafka and running stateful stream processing (Kafka Streams with RocksDB) inside services lets teams share data without shared mutable databases, enabling rewindable history, strong ordering via partitioning, and materialized views served as tables or streams. Claims this reduces coupling while preserving accessibility and integrity; production users at large internet companies use the pattern; the built pieces (distributed log, streaming engine, local state stores) work together to scale people, data velocity, and complexity.
AI-written summary · about
chapters (14)
- 0:00Introduction to talk
- 1:56What microservices really mean
- 5:08Autonomy and data coupling challenge
- 10:02Data dichotomy in services
- 16:03Command event query fundamentals
- 21:19Kafka as event backbone
- 27:17Two service patterns with Kafka
- 32:13Database inside out concept
- 36:06Evolution of good architectures
- 38:58Principles for stream-based services
- 41:30Summary and references
- 41:52Q&A: Security for confidential data
- 43:19Q&A: Kafka configuration complexity
- 46:29Q&A: Global order fulfillment race conditions
