Priority Queue Pattern With Spring Boot

Overview: Let’s consider a distributed application in which requests are processed as and when they arrive. Let’s also consider that these requests are time-consuming tasks triggered by user actions on our application. As tasks will take time to process, it is better to get these requests queued, we could process them sequentially and notify the […]

reactor hot publisher

Reactor Repeat vs Retry

Overview: In the reactive programming series with project reactor, I would like to show you the difference between Reactor Repeat vs Reactor Retry. If you are new to reactive programming or project reactor, take a look at this entire series to get a good idea on that. Need For Reactor Repeat & Retry: As we

Reactor Repeat vs RetryRead More »

gRPC Load Balancing With Nginx

Overview: In this tutorial, I would like to show how to implement gRPC load balancing functionality to distribute the load across all the servers using Nginx. If you are new to gRPC, I request you to take a look at these articles first. Protocol Buffers – A Simple Introduction gRPC – An Introduction Guide gRPC

gRPC Load Balancing With NginxRead More »

Kubernetes Adapter Pattern

Overview: In this tutorial, I would like to demonstrate the use of Kubernetes Adapter Pattern with a simple example. Kubernetes Adapter Pattern: Design Patterns are repeatable & reusable solutions for commonly occurring problems in the software/architectural design and they encourage the developers to design a highly cohesive and loosely coupled applications. Design patterns can be

Kubernetes Adapter PatternRead More »

Microservice Pattern – Kubernetes Sidecar Pattern

Overview: Design Patterns are repeatable & reusable solutions for commonly occurring problems in the software/architectural design and they encourage the developers to design a highly cohesive and loosely coupled applications. Design patterns can be used in the infrastructure/deployment design as well in this modern microservices era! We are going to take a look one such

Microservice Pattern – Kubernetes Sidecar PatternRead More »

gRPC Spring Boot Integration

Overview: In this tutorial, I would like to show you the gRPC Spring Boot Integration for inter microservices communication. gRPC is a RPC framework implementation from google for client-server application development.  We have discussed gRPC, protobuf and their advantages for inter microservices communication in these articles before. If you have not read them, check them

gRPC Spring Boot IntegrationRead More »

gRPC – An Introduction Guide

Overview: In this tutorial, I would like to introduce you to the modern RPC framework from google called gRPC. It is one of the hottest technologies right now! Need For gRPC: Microservices are the popular way to design distributed systems. A big monolith application is broken down into multiple independent Microservices. These Microservices have few

gRPC – An Introduction GuideRead More »

Protobuf / Protocol Buffers – A Simple Introduction

Overview: In this tutorial, I would like to introduce you to the Protobuf / Protocol Buffers –  an interface definition language or interface description language (IDL)! IDL is a specification which describes software component’s API in a language-neutral way. Problems With JSON: In a distributed systems architecture, 1 microservice written in Java might want to

Protobuf / Protocol Buffers – A Simple IntroductionRead More »

Java Reactive Programming – SwitchOnFirst Usage

Overview: In this Project reactor series, Lets take a look at switchOnFirst and its usage. If you are new to reactive programming, take a look at these following articles in the given order. Reactive Programming – A Simple Introduction Reactive Programming – Creating Sequences – Flux vs Mono Reactive Programming – Publisher Types – Cold

Java Reactive Programming – SwitchOnFirst UsageRead More »