Reactive Spring Data in action

To finish this chapter and highlight the benefits of the reactive persistence, let's create a data-intensive reactive application that has to communicate with a database frequently. For example, let's revisit the example from Chapter 6WebFlux Async Non-Blocking Communication. There, we implemented an alternative read-only web frontend application for the Gitter service (https://gitter.im). The application connects to a predefined chat room and re-streams all the messages to all connected users through Server-Sent Events (SSE). Now, with new requirements, our application has to collect statistics about the most active and the most referenced users in the chat room. Our chat application may use MongoDB to store ...

Get Hands-On Reactive Programming in Spring 5 now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.