Is data duplication an anti-pattern or a strategic choice? Learn when to embed versus reference data for maximum NoSQL performance.
#1about 3 minutes
Why data modeling matters for front-end developers
Understanding NoSQL data modeling helps improve application performance, developer productivity, and reduces overall costs.
#2about 7 minutes
Understanding document databases and flexible schemas
NoSQL document databases like MongoDB store data in BSON documents grouped into collections with flexible schemas, unlike rigid SQL tables.
#3about 6 minutes
Strategies for modeling one-to-many relationships
Model one-to-many relationships using either embedding to store related data within a single document or referencing to link separate documents via IDs.
#4about 6 minutes
Choosing a strategy based on relationship cardinality
Use embedding for one-to-few relationships and referencing for one-to-zillions relationships to avoid oversized documents and performance issues.
#5about 2 minutes
Modeling standard one-to-many relationships
Decide whether to embed or reference by determining if the related data constitutes a separate logical unit that needs to be queried independently.
#6about 6 minutes
Optimizing queries with the Extended Reference Pattern
Combine referencing with embedding minimal, frequently needed data to optimize critical queries and avoid multiple lookups.
#7about 5 minutes
Managing data duplication and staleness
Embrace necessary data duplication for historical accuracy and manage staleness by using batch updates with MongoDB Change Streams.
#8about 9 minutes
Key principles and resources for data modeling
Effective data modeling is driven by application use cases, relationship cardinality, and the identification of critical queries.
Related jobs
Jobs that call for the skills explored in this talk.
Dev Digest 215: Agent Memory, JS2026, Googlebot Analysis & Canvas❤️HTMLInside last week’s Dev Digest 215 .
🗿 Make AI talk like a caveman
🧠 A guide to context engineering for LLMs
🤖 Simon Willison on agentic engineering
🔐 Axios supply chain attack post mortem
🛡️ Designing AI agents to resist prompt injection
🎨 HTML in c...
Chris Heilmann
Dev Digest 136 - No JS(on) of mineNews and ArticlesDouglas Crockford is our featured video, so let's talk about evolving JavaScript and all things JSON. Judicious JSON explains all the weird things in it, you can learn why it can be incredibly slow, people wonder what even is a JSON ...
The Overflow: 5 Tools for Developers Working with JSONIn the last edition of The Overflow - where we share all kinds of incredible mostly-open source tools we just couldn’t fit into the DevDigest - we looked at speedy file sharing .
Well this time, we’re looking at five that make working with JSON a lit...
From learning to earning
Jobs that call for the skills explored in this talk.