gRPC Tutorial Java – The Complete Guide With Spring Boot

gRPC Tutorial Java: I am very happy to announce the launch of my new course on gRPC For Java Developers along with Spring Boot. Need For gRPC: Why do we need yet another framework? What is the problem with current Microservices design? gRPC is a framework from Google for inter-microservices communication. Google has been using […]

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 »

reactor hot publisher

Reactor limitRate Example

Overview: In this tutorial, Lets see how we could use Reactor limitRate to limit the rate of the incoming or outgoing messages through our reactive channel. If you are new to project reactor, take a look at all these articles here first for better understanding. Reactor limitRate: In reactive programming, we have subscribers (downstream) and

Reactor limitRate ExampleRead More »

gRPC vs REST Performance Comparison

Overview: In this tutorial, Lets develop both gRPC and REST based microservices and do the gRPC vs REST  Performance Comparison. If you are new to gRPC, please take a look at these articles first. gRPC – An Introduction Guide gRPC Unary API In Java – Easy Steps gRPC Spring Boot Integration TL;DR Check this youtube

gRPC vs REST Performance ComparisonRead 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 »

Spring WebFlux Security

Overview: In this tutorial, I would like to demo Spring WebFlux Security – security for reactive web applications. Sample Application: Lets consider a simple application which has 3 API endpoints. We need to have the security as shown below. Path Allowed Roles /home/admin ADMIN /home/user ADMIN, USER /home/any N/A Project Setup: Create a Spring Boot

Spring WebFlux SecurityRead More »

reactor hot publisher

Reactor Parallel Flux Example

Overview: In this short tutorial, I would like to demo Reactor Parallel Flux to process all the items in a reactive pipeline in parallel using Schedulers/Thread pools. If you are new to this, take a look at the entire set of articles here in the given order. Reactor Sequential Flux: Reactive programming is a style

Reactor Parallel Flux ExampleRead More »

RSocket File Upload Example

Overview: In this tutorial, I would like to show you RSocket File Upload – how we could upload large files in a complete reactive programming style with back-pressure support. RSocket is a message passing protocol for multiplexed, duplex communication which supports TCP, WebSockets and Aeron (UDP).  If you are new to RSocket, take a look at these articles to

RSocket File Upload ExampleRead More »

reactor hot publisher

Reactor Buffer vs Window

Overview: In this tutorial, I would like to demo Reactor Buffer vs Window options for collecting the items in a reactive pipeline & doing operations in batches. If you are new to reactive programming or project reactor, take a look at this entire series to get a good idea on that. Reactor Buffer vs Window:

Reactor Buffer vs WindowRead More »

gRPC File Upload With Client Streaming

Overview: In this gRPC File Upload tutorial, I would like to show you how we could make use of gRPC client streaming feature to implement file upload functionality for your application. If you are new to gRPC, I request you to take a look at these articles first. Protocol Buffers – A Simple Introduction gRPC

gRPC File Upload With Client StreamingRead More »