Backpressure in Project Reactor: Saving your Subscribers from drowning

One of the main mechanisms behind Reactive Programming is backpressure. In this article we’ll take a look at the concept, and some of the advantages it creates when working with Reactive Streams. The concept of backpressure in Reactive Streams is as elegant as it is powerful. It will enable the use of slow Consumers within … Continue reading "Backpressure in Project Reactor: Saving your Subscribers from drowning"

Read More

Flux Caching in Project Reactor: Replaying past data

In the article Flux Sharing in Project Reactor: From one to many we looked at how we can attach multiple Fluxes to an initial Flux by sharing it, to create multiple substreams from our original Reactive stream. This offers quite a bit of extra power. We can “feed” data to different subsystems that can consume … Continue reading "Flux Caching in Project Reactor: Replaying past data"

Read More

Flux Sharing in Project Reactor: From one to many

Reactive Applications often require Reactive Streams to be subscribed to by multiple Subscribers at the same time. For example when the same information streams needs to be used by different components in the application, or when we want to let the data stream to different users. Especially in real-time applications this can be a huge … Continue reading "Flux Sharing in Project Reactor: From one to many"

Read More

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