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

Combining Fluxes in Project Reactor

Analogous to combining Mono’s, which we discussed in this article we can also combine Fluxes in several ways. With Project Reactor we can use Fluxes to signal back zero, one, or more than one element. This makes it inherently different to the Mono datatype, which is only able to return one or zero elements. This … Continue reading "Combining Fluxes in Project Reactor"

Read More