Reactive Programming

Protocols and Backpressure in Spring WebFlux

Reading Time: 3 minutes The WebSocket Protocol Never blocking is one of the main suggestions for dealing with data streams. A client using data from a stream should never block the thread because it does not own it. Putting them in a buffer will stop them from being released. However, buffers have a finite capacity, can overflow, and can lose data. The client should be able to regulate how Continue Reading

A Brief Introduction to Axon Framework

Reading Time: 3 minutes Need for Axon Framework Axon Framework is designed to support developers in applying the CQRS/DDD architectural pattern and Event Sourcing. It helps developers build easily scalable and maintainable applications by providing implementations of some basic building blocks, such as Aggregates, repositories, and event buses  Axon Framework, founded by Allard Buijze also working for Trifork, is an open source product with version 3 planned for Q1 2016. CQRS Example Using Continue Reading

Quarkus: Supersonic Subatomic Java

Reading Time: 3 minutes Cloud computing, container technology, or systems for orchestrating containers like Kubernetes weren’t even a concept when Java was created. It was built to maximize throughput (requests/s) at the expense of CPU and memory consumption, resulting in a slow startup time. As the world is moving from monolith to micro-service and serverless architecture where we have multiple instances of a service running scalability issues like startup Continue Reading

Understanding Java enums

QuickStart with OpenJDK Project Loom

Reading Time: 3 minutes In this blog post, we will talk about Java’s ambitious project Loom which solves the problem of high throughput concurrency model using Java threads abstraction. We will go through how we can set up the minimal environment to experiment with the features of the Project Loom. What is Project Loom Project Loom is speculated to be the programming model which can disrupt the architecture of Continue Reading

Intro to Spring Reactor: Part 1

Reading Time: 2 minutes The world is a stage where all of us are artists and Constant learning is the foundation of success.In order to continue your learning with something new, here were are going to learn about Spring Reactor. Let’s start with the basics about what is Reactive Programming first. Reactive Programming It’s important to understand the difference between reactive programming and reactive systems. We use both these Continue Reading

Project Reactor – Part 1

Reading Time: 2 minutes In this blog, I would be providing an overview of the spring reactor project, which is a reactive library based on the reactive specifications so let’s get started. Introduction Spring framework started support for reactive programming in version 5 via project reactor. Project Reactor is a fully non-blocking foundation with back-pressure support also included. It’s the foundation of the reactive stack in the Spring ecosystem Continue Reading

Spring Reactor

Reading Time: 5 minutes 1. Overview In this article, we’ll get introduced to the Spring Reactor project and its importance. The idea is to take advantage of the Reactive Streams Specification to build non-blocking reactive applications on the JVM. Using this knowledge, we’ll try to build a simple reactive application and compare it to a traditional blocking application. 2. Conventional APIs are blocking Modern applications deal with a high number of concurrent users Continue Reading

Introduction to Akka Streams

Reading Time: 4 minutes Hey folks, let us understand the basics of akka streams. I hope you have a basic understanding of Akka Actor. What is Akka Streams Akka Streams is a library to process and transfer a sequence of elements. It is built on top of Akka Actors to make the ingestion and processing of streams easy. As it is build on top of Akka Actors, it provide Continue Reading

Rx Java Basics

Reading Time: 3 minutes Overview RxJava is a JVM implementation of Reactive Extensions and a reactive programming implementation based on event driven and asynchronous programs. It works on the principles of observables and observer patterns. RxJava is lightweight and implemented as a single JAR on the observable abstraction and related higher-order functions. (For those who are new to Reactive Programming and have less familiarity with it. Reactive programming is Continue Reading

Reactive Architecture: Introduction to Reactive Systems

Reading Time: 2 minutes In this post, we are going to talk about reactive system what exactly we mean by reactive systems and how the software industry or application have evolved over a period of time. So today we want a highly reactive system. This post is about understanding the term Reactive System. What exactly we mean by such a system. What is a Reactive System? A system that Continue Reading

Diving Into Reactive Microservices

Reading Time: 4 minutes What Happens When Reactive Meets Microservices? It would be beneficial if you understand the concepts of Reactive Architecture before diving into Reactive Microservices. You can read about Reactive Architecture here: Leaning Towards Reactive Architecture In this article we will cover transition from Monoliths to Service Oriented Architecture to Reactive Microservices by applying isolation techniques to the application. What are Monoliths? To start explaining the microservices Continue Reading

Reactive java combining Mono(s)

Reactive Java: combining Mono(s)

Reading Time: 4 minutes Reactive programming has been a good to go approach with the microservices architecture. Here we will see how it can be achieved using spring web flux MONO Api and what could go wrong if we do not consider the basics of the reactive environment.