Sort Relationship Modeling Trade-Offs
Classify NoSQL relationship patterns by their main trade-off.
Drag each pattern to the trade-off it mainly accepts. Read-together embedding Fast aggregate read; safe when bounded and same lifecycle. Reference for authority Protects independent ownership; may require extra reads. Duplicated projection Fast screen; requires update path and stale window. Separate unbounded child Avoids parent growth; needs targeted child queries. Immutable invoice line items stored inside the invoice document Listing stores seller ID and reads payout eligibility from seller profile authority Listing copies seller name and rating for search result cards projection Article comments stored separately by article ID and timestamp User notification preferences stored with the user settings document…
Sign up free — one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in