r2dbc pagination

Spring Data R2DBC Pagination

Overview: In this tutorial, I would like to show you how we could achieve pagination for improved navigation of our application when we use Spring Reactive Data (R2DBC Pagination) with Spring WebFlux. Spring Data R2DBC: R2DBC stands for Reactive Relational DB connectivity. Something like JPA (Java Persistence API), R2DBC is a specification for reactive drivers for relational DBs. […]

spring boot graalvm native image

Spring Boot GraalVM Native Image

Overview: In this tutorial, I would like to show you building Spring Boot GraalVM Native Image and Its performance. GraalVM Native Image: GraalVM is an universal VM for running applications written in Java, JavaScript, Python, Ruby..etc. It compiles the Java and bytecode into native binary executable which can run without a JVM. This can provide

Spring Boot GraalVM Native ImageRead More »

spring webflux validation

Spring WebFlux Validation

Overview: In this tutorial, I would like to show you Spring WebFlux Validation for validating the beans / request inputs. Spring WebFlux Validation: When we expose our APIs using WebFlux, we might have a set of constraints before accepting any request for processing. For ex: Field should not be null, age should be within the

Spring WebFlux ValidationRead More »

spring-webflux-redis

Spring WebFlux Redis Integration

Overview: In this article, I would like to show how we could improve the performance of our application with Spring WebFlux Redis Integration. Spring WebFlux Redis Integration: Redis stands for Remote Dictionary Server.  It is an in-memory, fastest NoSQL DB primarily used for caching the frequently used data. It also has so many other features

Spring WebFlux Redis IntegrationRead More »

spring webflux file upload

Spring WebFlux File Upload

Overview: In this tutorial, I would like to show you Spring WebFlux File Upload example. Spring WebFlux File Upload: Spring WebFlux is a non-blocking web stack to handle multiple concurrent requests with minimal number of threads and scale with fewer hardware resources. It performs much better compared to Spring MVC when the application has to

Spring WebFlux File UploadRead More »

spring webflux with protobuf

Spring WebFlux With Protobuf

Overview: In this tutorial, I would like to show you how we could use Spring WebFlux with Protobuf (Protocol Buffers) for your RESTful Microservices. Protocol Buffers, in short Protobuf, are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can take a look at this to learn more about this. Spring WebFlux With Protobuf:

Spring WebFlux With ProtobufRead More »

Spring Data R2DBC CRUD Example

Overview: In this article, I would like to show you how to perform various CRUD operations using Spring Data R2DBC  along with Spring WebFlux. I would use Postgres in this example. If you are using H2/MySQL..etc the concept remains same. Spring Data R2DBC: R2DBC stands for Reactive Relational DB connectivity. As a Java developer, you know

Spring Data R2DBC CRUD ExampleRead More »

cqrs pattern

CQRS Pattern With Spring Boot

Overview: In this tutorial, I would like to demo CQRS Pattern with Spring Boot which is one of the Microservice Design Patterns to independently scale read and write workloads of an application & have well optimized data schema. CQRS Pattern: 1. Read vs Write Models: Most of the applications are CRUD in nature. When we design these

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

Event Carried State Transfer – Microservice Design Patterns

Overview: In this tutorial, I would like to show you one of the Microservice Design Patterns – Event Carried State Transfer to achieve the data consistency among the Microservices. Event Carried State Transfer: Modern application technology has changed a lot. In the traditional monolithic architecture which consists of all the modules for an application, we have

Event Carried State Transfer – Microservice Design PatternsRead More »