Reducing database costs to $1 with data modeling, Azure Web PubSub, and the Cosmos serverless plan
summary
A production digital checklist for factory batch changeovers replaces polling with Azure Web PubSub reliable pushes, sending the entire single-document checklist to clients so back-end writes stay to one Cosmos operation per change; concurrency uses etag retries. Migration from a Postgres setup costing about $280/month to Cosmos DB serverless uses ≈2.5M RUs/month (under $1/month), supports thousands of clients, multiplies savings across four environments, and cuts the Postgres CO2 footprint by ~22%.
AI-written summary · about
chapters (7)
- 0:00Introduction and background
- 2:55Application evolution and challenges
- 5:46Introducing Azure Web PubSub
- 6:48Data modeling in Cosmos DB
- 9:16Choosing Cosmos DB capacity mode
- 11:50Cost comparison and savings
- 13:59Key takeaways and conclusion
related talks
33mDriver for Data-Driven Change - Azure Cosmos DB Performance, Security & Cost Optimization Done Right
22mAzure Cosmos DB Serverless Unleashed
01h 00mCost cutting strategies for Azure Cosmos DB
02h 02mAzure Cosmos DB: Liftoff
43mDatabase capabilities you need for your next awesome app Q&A
01h 02mFrom SQL to Azure Cosmos DB
45mGetting the Most from NoSQL in the Cloud with Azure Cosmos DB
27mAzure Cosmos DB Serverless Unleashed
