Serverless & Schemaless with Azure Functions and CosmosDB
summary
Demo shows C# code that receives checkout JSON via an HTTP endpoint, writes varied documents to Cosmos DB (using the Cosmos DB emulator locally), and a CosmosDB change feed trigger fires another Azure Function to handle shipping. Attributes and partition key are created automatically, a lease collection is provisioned, and the demo writes and reads two different record shapes successfully. Infrastructure auto-scales (scale controller example of 10 million messages) and everything runs end-to-end using Postman, local emulators and Azure Functions.
AI-written summary · about
chapters (14)
- 0:00Introduction and speaker intro
- 1:58Agenda and motivation for talk
- 3:03What is serverless computing
- 9:54What is schema-less data
- 10:16Azure Functions basics
- 22:08Azure Cosmos DB overview
- 28:24Change feed in Cosmos DB
- 34:38Demo setup and prerequisites
- 39:23Creating Azure Functions project
- 44:24HTTP trigger and data handling
- 45:52Storing data in Cosmos DB
- 55:09Cosmos DB trigger setup
- 58:22Processing schema-less data
- 1:00:14Conclusion and Q&A
related talks
43mServerless Data APIs with Azure Functions and Cosmos DB
47mWorking with data using Azure Functions
45mGetting the Most from NoSQL in the Cloud with Azure Cosmos DB
39mBuilding Event-Driven Systems at Scale with Cosmos DB
01h 01mGo Serverless with Cosmos DB, Azure Functions and Blazor
27mIntegrating Azure Cosmos DB with the Azure Ecosystem
01h 01mServerless Azure Data handling
20mHow Azure Cosmos DB enables Event Sourcing architecture and powers e-commerce
