Microservice guidelines

Microservice When to expose a new microservice? Microservice has to expose a well defined functionality with significant code. It’s difficult to define what is significant code so how to make a decision about new microservice. If some service is turning into monolith. Various kind of functionality being added frequently into service Performance is becoming aContinue reading “Microservice guidelines”

Code Quality Guidelines

Coding guidelines are extremely important part of a professional developer’s day to day practices. Following these guidelines differentiate between an experienced developer and a rookie. It surprises me that so many companies still ignore them and produce poor quality code that results in very expensive maintenance over the period and is so fragile that every time youContinue reading “Code Quality Guidelines”

Serverless Architecture – AWS Lambda

I want to write this post about my views about serverless architecture (specifically AWS Lambda) which all cloud service providers like AWS are promoting as “holy grail” for solving all problems.  This post is targeting developers who understand that every technology has a limitation and its wise to make an informed decision Before I startContinue reading “Serverless Architecture – AWS Lambda”

Apache Kafka – Simple Tutorial

  In this post I want to highlight my fascination with Kafka and its usage. Kafka is a broker just like “RabbitMQ” or “JMS”. So what’s the difference? Difference are: It is distributed it is fault tolerant – because of messages being replicated across the cluster It does one thing and one thing only i.e.Continue reading “Apache Kafka – Simple Tutorial”

Kafka Cluster Setup

from my own experience I find that while setting up kafka cluster on AWS we face some issues so just want to highlight them. a. First setup zookeeper cluster. Let’s say 3 node cluster. Modify each node zoo.conf to publish ip address as internal IP address. server.id=<internal aws ip1>:2888:3888 server.id=<internal aws ip2>:2888:3888 server.id=<internal aws ip3>:2888:3888Continue reading “Kafka Cluster Setup”

Not so many reasons Why C++ sucks..

Coded in C++ for 5 years so would apologize in advance. But this is just my opinion. Do I want to start a language war? You bet. – Pointers suck – Memory management sucks – Function Pointers yeah they do – goto statements sucks – Friend Functions sucks – static initialization sucks – Macros SuckContinue reading “Not so many reasons Why C++ sucks..”