How to scale profitably in cloud?

Reading Time: 3 minutesSetting up your application for scaling in cloud is like driving a Red Ferrari. You have to learn to pump and break appropriately. Pump too much — you could end up in your neighbors drive way. Break too soon — you could bang your head into steering wheel. You don’t want to ruin your exotic …

Continue reading

NoSQL – revolution or overdose?

Reading Time: 2 minutesWhat is it like to drive a left-handed car if all you have ever driven is a right-handed car? Confusing! What is it like to develop on a NoSQL db if all you have ever done is a relational databases? Embarrassing! Embarrassing? Exactly! Somehow, we are all brainwashed into worshiping normalization in our academics and …

Continue reading

How to deploy fearlessly to production

Reading Time: 2 minutesProduction deployments are one of the most hated software rituals. There are so many overwhelming customs to take care of – pre and post deployment. Managers have to seek permission, and notify stake holders of downtimes. To minimize impact, deployments are scheduled late nights or odd hours leading to additional inconvenience. Lots of questions linger …

Continue reading

How to avoid blindspots when consuming Web API

Reading Time: 2 minutesThere are 3 major questions we can ask before consuming a Web API. What is the security mechanism? What is the payload schema? What are the response types? I have learnt about these blindspots the harder way. This may seem very obvious to lot of people, however as the proverb goes ‘Prevention is better than …

Continue reading

How to accelerate background tasks in cloud.

Reading Time: 2 minutesAzure webjobs helps us quickly develop, deploy, and run background tasks in cloud. Close integration with utility components cuts down the development time to half. Traditionally, batch jobs are developed using 3rd party libraries like Hangfire or Quartz. Their is a lot of boilerplate coding, and heavy configurations required to implement these APIs. Creating Jobs, Schedules, …

Continue reading

How to strengthen code confidence using automated tests.

Reading Time: 4 minutesManual unit testing is like filing taxes every year – boring and unavoidable! It is the most boring ritual ever. Collecting W2’s, bills, and lengthy filling forms. Yuk, easily the most avoidable too. Unit Testing How many times have we written code and never tested it? Never. How cumbersome is it to run the whole application to …

Continue reading

Serverless – A ‘No strings attached’ computing.

Reading Time: 4 minutesServerless to computing is what Uber is to transportation; easy, simple, safe, and cheap. If you are a fan of ride sharing apps like Uber or Lyft then you will understand my metaphor. No more parking tickets. No more waiting in cold outside. You are notified when your ride arrives. Just walk out of car …

Continue reading

Automating deployment Rituals

Reading Time: 1 minuteThis is my PowerShell script deployment.ritual repository that helps C# developers update easily configuration app settings and connection strings scattered all around in solution config files. In one go, you are done updating hundreds of values by using this simple PowerShell script. No knowledge of PowerShell is required to use this script. This script can be used …

Continue reading

Handling Transient faults in web api using Queue centric pattern.

Reading Time: 2 minutesTransient fault in web application is an communication error caused by dependency calls. Most often downstream network failures are classified as transient faults. We may all have visited a website that did not return a web page the very first we requested for. On refreshing the website seems back. This is classic case for a Transient …

Continue reading