~/talk

Cosmos DB Modeling Methodology

links:none on file
slides:none on file

Methodology converts a 300+ table legacy e commerce schema into Cosmos DB by mapping DDD aggregates to containers and then optimizing for queries and partitions. It uses SQL API document models, follows rules like each aggregate → one container and anchor primary key as partition key, maps non‑root entities to distinct document types, embeds value objects unless they change or are many, uses a dedicated dictionary container, references across aggregates, duplicates orders into accounts to avoid cross‑partition queries and tunes indexes and partition sizes.

AI-written summary · about

  1. 0:00Intro
  2. 0:58Importance of modeling in NoSQL
  3. 2:02Case study: legacy e-commerce platform migration challenge Scaling issues related to support bigger number of Relational Tables simultaneous users from around the globe
  4. 4:41Methodology inspiration
  5. 7:04The methodology: executive summary
  6. 11:51Case study: application flow
  7. 15:04Case study: DDD aggregates
  8. 16:23Data realities & queries statistics
  9. 17:49Mapping rules. Part 3
  10. 20:22Case study: logical data model
  11. 23:32Case study: physical optimization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.