spring webflux websocket

Spring WebFlux WebSocket

Overview: In this tutorial, I would like to show you Spring WebFlux WebSocket to enable a real-time communication between a client and the server. Spring WebFlux WebSocket: Spring WebFlux is a non-blocking web stack to handle multiple concurrent requests with minimal number of threads and scale with fewer hardware resources. WebSocket is a standardized way […]

redis pubsub spring boot

Redis PubSub With Spring Boot

Overview: In this article, I would like to show Redis PubSub with Spring Boot which can be used to broadcast messages across multiple services in a Microservices architecture. I assume you have basic knowledge on Redis + Spring Boot integration. If you are new to Spring Boot Redis, check the below article. Spring WebFlux Redis

Redis PubSub With Spring BootRead More »

Scatter Gather Pattern

Overview In this tutorial, I would like to demonstrate Scatter Gather Pattern which is one of the Enterprise Integration Patterns for the distributed system architecture using NATS messaging server. Please check my previous artcile here to know more about NATS. Scatter Gather Pattern Let’s consider an application in which we need to do a set

Scatter Gather PatternRead More »

NATS Messaging vs REST Performance Comparison

Overview: In this tutorial, I would like to show you the performance of the NATS messaging vs REST based microservices. NATS is a high performance cloud native messaging server which we had already discussed here. NATS can help with service discovery, load balancing, inter-microservices communication etc in the modern distributed systems architecture. Sample Application: Our main

NATS Messaging vs REST Performance ComparisonRead More »

NATS – Server Clustering

Overview: In the previous article on NATS, we had discussed the basics of NATS set up and its features. pub/sub request/reply queue groups service discovery (channel) load balancing NATS is a very lightweight, high performance messaging server – It makes it as a good choice for modern microservices architecture to solve the service discovery and

NATS – Server ClusteringRead More »

RSocket + WebSocket + Spring Boot = Real Time Application

Overview: In this tutorial, I would like to show you how to create a real time application using RSocket WebSocket & Spring Boot.  If you are new to RSocket, take a loot these articles first. RSocket With Java – Getting Started RSocket With Spring Boot RSocket – Uploading Files With Reactive Programming Sample Application: Our

RSocket + WebSocket + Spring Boot = Real Time ApplicationRead More »

NATS Messaging In Java

Overview: In this tutorial, I would like to introduce NATS Messaging to you & talk about its advantages in Microservices Architecture and some code samples in Java. NATS Messaging Server: We had discussed a lot about inter microservices communication using Kafka, gRPC, RSocket, even Redis in this blog. They are all great and they have

NATS Messaging In JavaRead More »

RSocket With Java – Getting Started

Overview: In this tutorial, I would like to introduce you to RSocket with Java, its interaction models and how it will be helpful for Microservices communication or client – server application development. RSocket: RSocket is a binary & message passing protocol over a single connection between client and server. It supports TCP, WebSockets and Aeron

RSocket With Java – Getting StartedRead More »

Spring Cloud Stream Kafka Binder

Overview: In this tutorial, I would like to show you passing messages between services using Kafka Stream with Spring Cloud Stream Kafka Binder. Spring Cloud Stream: Spring Cloud Stream is a framework for creating message-driven Microservices and It provides a connectivity to the message brokers. Something like Spring Data, with abstraction, we can produce/process/consume data

Spring Cloud Stream Kafka BinderRead More »

Redis Stream With Spring Boot

Overview: In this article, I would like to show Redis Stream With Spring Boot to demo how to implement real time stream processing. Redis: Redis was originally known as a REmote DIctionary Server for caching data. Along with Master/ReadReplication & Pub/Sub feature, Now Redis has added the support for Streams as well. Please take a look

Redis Stream With Spring BootRead More »