~/talk

Azure Cosmos DB Changefeed tales from the trenches

links:none on file
slides:none on file

Change feed pulls changes from 80+ collections (largest ~26M docs) into lightweight Azure Functions using the Cosmos DB trigger (batch size 2000) that write blobs to a Data Lake, with one Stream Analytics job per collection to deserialize into Azure SQL Managed Instance. Event Hubs proved unable to absorb the nightly burst (8–11pm, ~98% of traffic); duplicate deliveries and the need to delete lease documents to reset processing are recurring pain points, and the functions require a read/write key. App Service scales to P2V2 and up to eight instances on CPU/memory thresholds. Synapse Link is the planned alternative.

AI-written summary · about

  1. 0:00Intro
  2. 1:17Agenda
  3. 2:04The problem to solve
  4. 3:22Changefeed Processor components
  5. 4:45Changefeed lifecycle
  6. 5:16Changefeed recap
  7. 6:22Solution 2
  8. 9:51Changefeed lightweight function
  9. 13:17Issues with Changefeed
  10. 15:30The upcoming Ideal solution
  11. 16:51Scaling Up / Scaling Out (For 90+ collections)
  12. 18:48Deserializing
  13. 19:54Governance
  14. 22:30Conclusion
  15. 23:51Questions
~/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.