Reactive Spring Data MongoDB: Tailable Cursors

In our previous article on the new Reactive Spring Data, we took a basic look at what MongoDB had to offer through its Reactive driver. We were able to send and receive information from and to our database in an event-stream-driven way. Instead of having to wait for the full result of our database call, … Continue reading "Reactive Spring Data MongoDB: Tailable Cursors"

Read More

Reactive Spring Data Introduction

When building applications, we often want to save information in a database. Databases are notoriously I/O-bound, meaning that when a CPU has to wait for its results the application’s threads get blocked, and it is wasting a lot of valuable cycles. These cycles are far better off being used to do other useful work, like … Continue reading "Reactive Spring Data Introduction"

Read More

An introduction to Reactive Websockets

Websockets as a technology has been in use for quite a couple of years already. It’s battle-tested and has proven itself as a reliable way to support full-duplex real-time communication between a client and a server, or applications in general. Full-duplex implies that both sides (client and server) can take the initiative in sending messages. … Continue reading "An introduction to Reactive Websockets"

Read More

Reactive Programming, thinking in Flows

One of the biggest differences between the pieces of your applications applying the “Reactive Programming” paradigm, and those with “Regular Programming” is the fact that your code is based on streams of information. This might be a bit tricky to get your head around first, because as a developer you’re used to one part of … Continue reading "Reactive Programming, thinking in Flows"

Read More

TopicProcessor in Project Reactor: Spreading the message to many

When building your Reactive Application, you sometimes want to split up your single stream into several ones, running concurrently. One of the ways this can be done using the TopicProcessor. Very similary to the concept of a Topic seen in JMS, a TopicProcessor can be used to subscribe on one or multiple streams, and have … Continue reading "TopicProcessor in Project Reactor: Spreading the message to many"

Read More