Author: Lokesh Aggarwal

Project Reactor – Part 1

Reading Time: 2 minutes In this blog, I would be providing an overview of the spring reactor project, which is a reactive library based on the reactive specifications so let’s get started. Introduction Spring framework started support for reactive programming in version 5 via project reactor. Project Reactor is a fully non-blocking foundation with back-pressure support also included. It’s the foundation of the reactive stack in the Spring ecosystem Continue Reading

Deploy a Microservice into Istio service mesh

Reading Time: 3 minutes Before going to deploy the service into istio let’s first understand what is service mesh. Service mesh is a dedicated infrastructure layer for handling service to service communication. Basically, it’s a way to control how different micro services deployed on kubernetes will manage secure communication and traffic between them with lot’s of cross-cutting concerns like logging, security, etc. Istio service mesh comes with lot’s of Continue Reading

Java- Try With Resources

Reading Time: 2 minutes In this blog, I would be talking about the Important topic of java which is try-with-resources. Many of us have used the try and catch blocks in our java codes multiple times. The support for try-with-resources introduced in java 7 but there was some limitations which java creaters overcome in java 9. The try-with-resources statement is a try statement that declares one or more resources. A resource is an object Continue Reading

Factory design Pattern

Reading Time: 2 minutes Hi guys, I hope you are doing good. In this blog, we will be talking about one of the creational design patterns which is Factory Pattern. The creational design patterns are concerned with the way in which objects are created. In factory design patterns, we basically define an interface or abstract class for creating an object but objects creation decisions like for which class client Continue Reading

Java-8 Streams

Reading Time: 3 minutes Hi folks, In this blog we would talk about one of the features of Java 8 which is Streams. The java package java.util.stream contains classes to support functional-style operations on streams i.e. map, filter etc. Streams is not a data structure that stores something instead of it a way to flow data from source to destination with some intermediate operation in between. Let’s take an Continue Reading

Resilience4j Retry with SpringBoot

Reading Time: 2 minutes Hi guys, I hope you are doing good. In this blog, we will be talking about one of the core modules of resilience4j: Retry. If you are not familiar with the resilience4j library then you can refer my last blog Bulkhead with Resilience4j. It would be a 2 minutes read. What is Retry in API calls? We use the Retry mechanism to make out the micro-services Continue Reading

Bulkhead with Resilience4j

Reading Time: 3 minutes Resilience4j is a lightweight fault tolerance library, inspired by netflix Hystrix. It is kind of replacement of Hystrix because Hystrix is not in active development, instead in maintenance mode. It means they won’t review issue, merge pull requests and release new versions.

Deploy a Microservice into Istio service mesh

Reading Time: 3 minutes Service mesh is a dedicated infrastructure layer for handling service to service communication.
Basically, it’s a way to control how different micro services deployed on kubernetes will manage secure communication and traffic between them with lot’s of cross-cutting concerns like logging, security, etc.