Programmatically change CosmosDB Request Units(RU) with Azure function 2.x and Cosmos DB SDK 3.0

When you are involving in an architectural discussion which involves Azure’s cosmosdb, a mandatory question that you get is “Is not Azure Cosmos DB very expensive?”. Based on the fact that Cosmos DB is evolving very fast, there are lot of customers stepping in to use the service in their architecture. To understand one thing… Read More Programmatically change CosmosDB Request Units(RU) with Azure function 2.x and Cosmos DB SDK 3.0

How Azure CosmosDB + Functions + IOT hub + PowerBI could solve the burning Traffic problem

Road traffic is a very classic and burning problem in Sri Lanka and in most of the Asian countries. Personally I have to spend 2 hours on the road everyday by just stuck in the traffic and I assume the same for other people who gets stuck for many hours with no way out. I… Read More How Azure CosmosDB + Functions + IOT hub + PowerBI could solve the burning Traffic problem

Build your serverless functions with OpenFaaS on Azure

For the past one month , I have been experimenting with one of the promising serverless framework for creating serverless functions.  With the modern applications moving to cloud with microservices this framework becomes very handy to create/manage your microservices in the form of functions. What do we need microservices? When I started my career as… Read More Build your serverless functions with OpenFaaS on Azure

Event Sourcing with Azure EventHub and CosmosDB

Traditional Architecture : In a traditional Application with the normal approach, transactional use-cases usually involve persisting data in a few SQL tables or in a NOSQL database. When the changes are performed on the object the database is updated to match the new state. The traditional approach works well in case if you do not… Read More Event Sourcing with Azure EventHub and CosmosDB