Efficient reliable microservices
summary
Describes combining business logic and an embedded distributed Cassandra database inside the same JVM process to build high-throughput microservices at Odnoklassniki that handle hundreds of billions of records and millions of ops/sec. Explains benefits of co-locating logic and DB, how in-process state affects reliability and availability, the resulting performance gains, and which databases are suitable (or unsuitable) for embedding in a microservice.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 5:13Microservice design
- 7:22Performance bottlenecks
- 11:40Stateful microservices
- 13:06Fault tolerance
- 17:43Reliability comparison
- 20:38High availability
- 22:02Database integration
- 25:59Cassandra data distribution
- 28:31Cassandra query execution
- 31:01Message cache design
- 34:20Data consistency
- 36:11Change data capture
- 38:21Cache persistence
- 40:09Fast restart
- 41:54Stale cache handling
- 44:03Heavy query optimization
- 47:34Full-text search
- 51:11Deployment challenges
- 53:17Fault tolerance testing
- 55:02Version upgrades
- 56:47Summary
