~/talk

Build Scalable Inventory System with Azure Cosmos DB

Talkat Azure Cosmos DB Conf 2024 · on Tuesday, 2024-04-16· [databases, web-performance]
links:none on file
slides:none on file

Builds an event-sourced inventory using Azure Cosmos DB with two concrete designs: an async pipeline that ingests immutable events into an inventory ledger, runs an Azure Functions change-feed worker that uses change feed + patch API with conditional patching to update snapshot documents (handles at-least-once delivery), and a sync pattern that keeps events and snapshots in one container using transactional batch (per-partition) to prevent oversell. Demonstrated 10k TPS for async (2.5k writes / 8k reads, 60min) and ~19.9k writes/sec for sync with P99 latencies under ~9ms, and cost estimates ~$3.6k vs ~$3.0k/month; includes analytics via Azure Cosmos DB Mirroring in Microsoft Fabric.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Use Case
  3. 1:25Design Pattern
  4. 2:38Implementation
  5. 3:48Demo
  6. 9:40Scaling
  7. 12:50Sync Pattern
  8. 14:50Business Rules
  9. 16:30Portal
  10. 18:13CoPilot
  11. 19:42Cost per month
  12. 20:04Conclusion
~/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.