Mastering Java Persistence: Best Practices for Cloud-Native...
summary
Argues that cloud native Java needs polyglot persistence and shows concrete tradeoffs: Redis for caching and pubsub, Cassandra for denormalized wide columns with TTL and multi‑DC replication, MongoDB for document embeds and sharding, Neo4j for directional graph queries. Explains JDBC and JPA costs, N+1 and mapping overhead, and contrasts six patterns with their costs and benefits. Recommends denormalize for read‑heavy stores, use snapshots and partitioning for scale, and notes repositories hide DB details but add adapter complexity. driver, data mapper, repository
AI-written summary · about
chapters (13)
- 0:00Introduction and motivation
- 3:47Why databases matter today
- 7:04Persistence layer challenges
- 12:11NoSQL paradigms overview
- 19:41Key-value and wide-column databases
- 22:35Document and graph databases
- 27:40Application-database impedance
- 31:10Persistence layer patterns
- 34:01Driver and mapper patterns
- 36:53Data Access Object and Active Record
- 38:41Repository pattern explained
- 41:08Tradeoffs in persistence layers
- 43:16Beyond patterns and Q&A
related talks
46mMastering Java Persistence: Best Practices for Cloud-Native & Modernization
51mEmpowering Enterprise Architectures with Polyglot Persistence
40mHow to Build Ultra-fast Java Microservices. Overcome Pitfalls of Data Persistence
25mPolyglot Persistence Unleashed
55mPolyglot Persistence with Java
46mThe State of Java Relational Persistence
43mThe Java Cloud-Native Stack for Microservices and Serverless Architecture
57mDatabaseless High-Performance Java-Native Persistence
