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 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 »

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 »

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 »