In the last article, we demonstrated how to use Server-Sent Events with Spring MVC SseEmitter. In this post, we expand the scope of the previous example to support distributed SSE. To achieve that we rely on Redis Pub/Sub which was discussed previously. Before starting the tutorial about distributed SSE with Spring SseEmitter and Redis Pub/Sub, […]
Category: Kotlin
A category for Kotlin related articles.
Sometimes we want the server-side application to notify the browser (client) of changes by sending messages to a webpage. That is not possible in traditional web applications. In web apps, the client has to initiate communication by sending a request to the server. Then wait for the response from the server. However, Server-Sent Events (SSE) […]
Redis is one of the most popular and versatile caching tools available. It supports clustering, a very crucial feature for distributed and microservice architectures. Additionally, it has an easy setup process. And thanks to the Spring framework, integrating services written in JVM with Redis is easier than ever. One can use the familiar Spring Data […]