About Bikram Kundu

I am a Software Craftsman, with slightly more admiration towards design and architecture. Among the few and far developers with proficiency in Java & JavaScript. I am equally in love with SkillIQ and RoleIQ.

Circuit Breaker Pattern in Microservices

The way one service talks to another service in the Microservices world, is via network calls like gRPC, HTTP, or event-driven mechanisms. One major difference between in-memory calls and network calls (remote calls) is that the remote calls can fail, and the remote server may not even respond until a timeout happens. Just imagine someone placing an order on an [Read More]

By |2022-07-29T19:13:51+00:00July 28th, 2022|Categories: Architecture|Tags: |

Service Discovery Patterns in Microservices

In a real-world situation, due to various reasons like auto-scaling and fault tolerance mechanisms, often you will need to spin up and spin down various applications (containers). Because of this, their locations like IP addresses, Hostnames, etc may change. For this reason, DNS - with its time-to-live expiration values - may be a poor fit for service discovery and location. [Read More]

By |2022-07-29T19:17:12+00:00July 25th, 2022|Categories: Architecture|Tags: |

The API Gateway Pattern in Microservices

An API Gateway acts as a proxy between the Client Apps and the microservices endpoints. I have explained in the previous article (Introduction to Microservices Architecture), that each microservice exposes a set of fine-grained endpoints. Each of these services can be hosted on a different server, hence exposing different host URLs. In this article, we will explore the need for [Read More]

By |2022-07-29T19:17:26+00:00January 28th, 2021|Categories: Architecture|Tags: |

Introduction to Microservices Architecture

This is a long boring introduction to Microservices Architecture, I will try to make it as relevant and interesting as possible. You will learn the differences between Monolithic and Microservices architecture. The various strategies used to decompose a Monolithic system into Microservices based architecture. It is difficult to give you an overview of this architecture in a single article, but [Read More]

By |2022-07-29T19:17:35+00:00August 26th, 2020|Categories: Architecture|Tags: |

Spring @Import and @ImportResource annotations

In this tutorial, you will learn to use Spring @Import and @ImportResource annotations to import configurations from java-config class and XML configurations respectively. These annotations work well with @Configuration annotations. Make sure you have a clear understanding of the ways to do Dependency Injections in Spring and the other related concepts. Check the related article on Inversion of Control and [Read More]

By |2020-08-06T16:16:42+00:00August 6th, 2020|Categories: Spring Framework|Tags: , |

Handle Resources in Spring

This article touches upon how to Handle Resources in Spring and we will look into the various interfaces like Resource, ResourceLoader, and ResourceLoaderAware. We usually do not have to make any modifications to the way in which Spring works with resources. We will specifically learn how Spring handles resources. Do not be confused with @Resource annotation. This article is about [Read More]

By |2020-08-05T06:14:19+00:00August 5th, 2020|Categories: Spring Framework|Tags: , |

Spring WebFlux REST Api with MongoDB and Spring Data

 In this article, I will explain to create a Reactive Rest API in Spring WebFlux with MongoDB as the document store. We will use reactive programming in API as well as the Repository level. This is an attempt to give you a real-life application development feel in this tutorial. In the previous tutorials, I have already discussed creating nonblocking [Read More]

By |2020-07-20T18:42:10+00:00July 20th, 2020|Categories: Spring Framework|Tags: , |

A functional endpoint in Spring WebFlux

In this article, you will learn to create a Functional endpoint in Spring WebFlux. In the previous article, I have introduced you to create an endpoint using the Annotations, now we will look into the pure functional programming way to achieve this. 1. Overview of Functional endpoint An Http request initiated by a client app arrives at the Server (Netty/Undertow [Read More]

By |2020-07-20T18:42:54+00:00July 10th, 2020|Categories: Spring Framework|Tags: , |

Getting started with Spring WebFlux

Spring WebFlux is a reactive web framework, newly added to Spring 5.x. It is fully non-blocking, supports Reactive Streams back pressure, and runs on such servers as Netty, Undertow, and Servlet 3.1+ containers. The Spring WebFlux uses Project reactor underneath for reactive programming. 1. Why use Spring WebFlux? An obvious question is, why to use Spring WebFlux when we already [Read More]

By |2020-07-10T06:18:25+00:00May 26th, 2020|Categories: Spring Framework|Tags: , |

Backpressure in Project reactor

You will learn about Backpressure in the Project reactor. Backpressure is the ability of a Consumer to signal the Producer that the rate of emission is higher than what it can handle. So using this mechanism, the Consumer gets control over the speed at which data is emitted. If you are new to Project Reactor, read about the Flux in [Read More]

By |2020-07-31T16:31:40+00:00May 24th, 2020|Categories: Java™|Tags: |
Go to Top