Tags → #mongodb
-
Mini Project: Building a Lightning Fast Product API
Week 2 Finale! We build a Product Catalog API with advanced filtering and sorting, powered by Compound Indexes.
-
How to Read a MongoDB Explain Plan
Don’t guess why your query is slow. Ask MongoDB. Learn how to debug performance issues like a detective.
-
7 Golden Rules of MongoDB Indexing
Indexes are powerful, but they cost RAM and Write speed. Here is your checklist for what NOT to do.
-
Compound Indexes & The ESR Rule
Filtering by multiple fields? A single index won’t cut it. Learn how to chain indexes together like a pro using the ESR Rule.
-
MongoDB Indexing 101: Stop the Collection Scans
Indexes are the difference between a 10ms query and a 10-second timeout. Learn how Single Field Indexes works under the hood.
-
Mini Project: Designing a Scalable Blog Schema
Week 1 Finale! We take everything we learned—embedding, referencing, and patterns—and build a production-ready schema for a blogging platform.
-
Normalization vs Denormalization: The Ultimate Trade-off
In MongoDB, data duplication is not a sin—it’s a feature. Learn how to balance read performance against write complexity.
-
Powerful Schema Design Patterns in MongoDB
Don’t reinvent the wheel. Discover persistent schema design patterns like The Attribute Pattern, The Bucket Pattern, and The Subset Pattern to solve common data problems.
-
One-to-One, One-to-Many, & Many-to-Many in MongoDB
Mastering the three core relationship types in MongoDB. Learn when to embed using arrays and when to use manual references with code examples.
-
Embedding vs Referencing in MongoDB
The most fundamental schema design decision in MongoDB: Should you embed data in a single document or reference it across multiple documents? We explore the trade-offs, patterns, and code examples.