The Spring Data MongoDB Project
summary
Demo of Spring Data MongoDB shows actual code: POJO annotated with @Document, use of MongoTemplate for queries and atomic updates (push/pop, $inc) and auto-generated repositories (findByAuthor). Explains default async driver behavior and how to set per-operation write concerns (journal, w=majority). Live setup builds a three-node replica set, adds shards via mongos and config servers, shows chunk splitting (64MB default) and automatic rebalancing; aggregation, TTL, GridFS and map‑reduce are supported.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker background
- 3:13What is MongoDB and why use it
- 6:24Building a basic Spring Data MongoDB app
- 11:39Querying and repositories in Spring Data
- 17:57Adding social features with embedded documents
- 25:07Atomic counters and schema design
- 30:10Durability and write concerns
- 36:35Replica sets for high availability
- 51:59Eventual consistency and read preferences
- 1:02:26Sharding for horizontal scaling
- 1:23:06Summary and other MongoDB features
- 1:34:15Q&A session








