gRPC Server Streaming

Overview: In this tutorial, I would like to show you how to implement gRPC Server Streaming API in Java. I assume that you have a basic understanding of what gRPC is. If not, read the below articles first. Protocol Buffers – A Simple Introduction gRPC – An Introduction Guide gRPC Unary API In Java – Easy Steps gRPC Server

gRPC Server StreamingRead More »

MongoDB Change Streams With Reactive Spring Data

Overview: In this tutorial, I would like to show you how to set up MongoDB Replica Sets using docker-compose and access MongoDB Change Streams with Reactive Spring Data MongoDB Template. Replica Sets: A replica set is a group of MongoDB instances that maintain the same data set. Replica sets provide redundancy and high availability. MongoDB

MongoDB Change Streams With Reactive Spring DataRead More »

MongoDB Tailable Cursor With WebFlux

Overview: In this tutorial, I would like to show you how to access the MongoDB Tailable Cursor or Infinite Streams with Spring Data Reactive MongoDB. This approach can help us to develop a Spring Boot application to automatically notify our users on the new records getting inserted into a collection. MongoDB Tailable Cursor: By default, when

MongoDB Tailable Cursor With WebFluxRead More »

MongoDB Aggregation Pipeline With Reactive Spring Data

Overview: In this tutorial, I would like to show how to use the MongoDB Aggregation Pipeline to process multiple documents and present the data in the desired format with Reactive Spring Data MongoDB Repository and MongoDB Template. Project Setup: Lets first create a simple spring boot project with these dependencies. Sample Application: Let’s consider an application

MongoDB Aggregation Pipeline With Reactive Spring DataRead More »

spring data reactive mongodb

Spring Data Reactive MongoDB CRUD Example

Overview: In this article, I would like to show how to perform various CRUD Operations with Spring Data Reactive MongoDB Repository. Project Setup: Lets first create a simple spring boot project with the required dependencies like Spring Data Reactive MongoDB. Sample Application: We are going to develop a simple spring boot application for freelancers in

Spring Data Reactive MongoDB CRUD ExampleRead More »

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

gRPC Tutorial Java – The Complete Guide With Spring BootRead 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 »

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 »