Stanimira Vlaeva

NoSQL Data Modeling for Front-end Developers

Is data duplication an anti-pattern or a strategic choice? Learn when to embed versus reference data for maximum NoSQL performance.

NoSQL Data Modeling for Front-end Developers
#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.

job ad

Saby Company
Delebio, Italy

Intermediate

test

Milly
Vienna, Austria

Intermediate

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
Dev Digest 136 - No JS(on) of mine
News 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 ...
Dev Digest 136 - No JS(on) of mine
CH
Chris Heilmann
Douglas Crockford - JSON and Beyond
Back at the WeAreDevelopers World Congress in July, Douglas Crockford took the stage to tell the JSON story and what's next. You can watch the video or read all about it here.IntroductionHello dear friends! Today, we delve into the world of data inte...
Douglas Crockford - JSON and Beyond
DD
Dilek Demir
Data Science & more: The Lopez dilemma
Catwalk, Data Science, Hollywood, Google Images, Haute Couture, StackOverflow, Comfort Zone, Dota 2 and Versace – all these topics are connected and influenced by each other. Read here how and why!In 2000 Jennifer Lopez's green Versace dress went vi...
Data Science & more: The Lopez dilemma
DC
Daniel Cranney
What does the history of data storage tell us about the future?
In the rapidly advancing world of computing, data storage stands as a cornerstone that has evolved profoundly over the decades, adapting to meet growing demands for durability, scalability, and accessibility. From early physical storage methods to to...
What does the history of data storage tell us about the future?

From learning to earning

Jobs that call for the skills explored in this talk.

Mongo DB Developer

Mongo DB Developer

cognizant

35K
MongoDB
Unit testing
Adobe InDesign
Configuration Management
DBA MongoDB

DBA MongoDB

Objectware
Canton de Torcy, France

Intermediate
Linux
Neo4j
NoSQL
Redis
MongoDB
+2