Kotlin Advanced Features vs Java

I have been playing around with Kotlin and I am liking it more and more. Its cleaner, less verbose, more functional adn comes with many advanced features. I will list down few with short examples Kotlin vs Java Comparison ✅ Kotlin vs Java: A Feature-by-Feature Comparison Kotlin is a modern, expressive programming language fully interoperableContinue reading “Kotlin Advanced Features vs Java”

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”

Master Worker Architecture using Vert.x

  Today I am going to explain how Vert.x can be used for creating distributed Master Worker Paradigm. In large scale systems it’s applicable to wide variety of problems. First – Just to refresh our memories about what Vert.x is Vert.x as we know is a lightweight framework for creating distributed microservices. It can saleContinue reading “Master Worker Architecture using Vert.x”

Code Quality Guidelines

Comprehensive Software Development Guidelines Table of Contents General Coding Guidelines Naming and Organization Coding Practices Class Design Functions and Methods Control Flow Error Handling Comments and Documentation Logging and Monitoring Clean Code Principles Code Clarity Structure and Organization SOLID Principles Clean Architecture Layered Architecture Java-Specific Guidelines Core Java Features Collections & Data Structures Date andContinue reading “Code Quality Guidelines”

MicroService Architecture

Here is a microservice architecture deployment diagram. All Services are docker containers which are registered to Consul Server via Registrator. Client (External – Mobile, UI) makes a call to Bouncer which is our API Proxy. Bouncer has all permissions configured on API URLs. It makes a call to Auth Server which authenticates the request andContinue reading “MicroService Architecture”

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”