Categories
Kotlin Spring

Distributed SSE with Spring SseEmitter and Redis Pub/Sub

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, […]

Categories
Kotlin Spring

Server-Sent Events with Spring MVC SseEmitter

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) […]

Categories
Kotlin Spring

Redis Pub/Sub with Spring Boot

In one of the previous articles, we explained how to use Redis as a caching layer with Spring Boot. This article covers a different feature of Redis known as Pub/Sub. In this article, we explain how to use Redis Pub/Sub with Spring Boot. For those who might not know, Redis can be used in two […]

Categories
Kotlin Spring

Getting started with Spring Data Redis with Kotlin

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 […]

Exit mobile version