Real-time cosmic chat
summary
A working demo chat (CosmosPark/CosmicChat) streams messages, typing indicators and map markers in near‑real time using Azure Cosmos DB change feed, Azure Functions, Event Grid, Azure Web PubSub and Static Web Apps. It duplicates documents into separate containers for different partition keys, uses soft‑delete plus TTL to detect deletes, and recommends Event Grid over many lease containers to scale. Demo runs serverless (expect cold starts) and broadcasts successfully via change feed to WebPubSub.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:05Agenda
- 1:56Change Feed
- 5:50Scenarios
- 7:04Multiple listeners
- 8:07Leases
- 10:00Event Grid
- 10:52Publishing Realtime Events
- 12:10Azure Web for Subservice
- 13:19Architecture
- 16:45Descent
- 17:04Chat
- 19:48Demo
related talks
01h 01mServerless & Schemaless with Azure Functions and CosmosDB
02mRecap
39mBuilding Event-Driven Systems at Scale with Cosmos DB
43mServerless Data APIs with Azure Functions and Cosmos DB
27mIntegrating Azure Cosmos DB with the Azure Ecosystem
05mReal-world examples of real-time applications using change feed
45mGetting the Most from NoSQL in the Cloud with Azure Cosmos DB
19mCosmic Database Powering OpenAI’s ChatGPT
