~/talk

Azure Cosmos DB Performance Tuning

links:none on file
links:none on file
slides:none on file

Terraform scripts provision Cosmos DB (repo: amreshkris/cosmosdb-conf-tf-mongo) with Mongo API, set auto-scale 400→4,000 at DB or collection level, and use serverless for dev. Monitoring highlights RU spikes to 100% causing 429s, so enable server-side retry and metrics-driven fixes. Performance changes: sharded by foodCategory, added indexes and TTL, introduced a synthetic product key (category+subcategory), upgraded server from 3.6→4.2, and briefly bumped RU to 20,000 for bulk load — improvements reduce throttling and stabilize latency.

AI-written summary · about

  1. 0:00Start
  2. 1:56Cosmos DB
  3. 14:11Insights Monitoring
  4. 17:44Metrics Monitoring Shard Usage
  5. 19:59Server Side Retry
  6. 21:08Scalability for Read & Write
  7. 24:42Scalability on DB or on Collection - Comparison
~/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.