An open API service indexing awesome lists of open source software.

https://github.com/sarakhild/chat-hub

Through this project, all messages are broadcasted in real-time to all connected clients while maintaining a complete history of conversations.
https://github.com/sarakhild/chat-hub

redis redisson spring-webflux webscoket

Last synced: about 2 months ago
JSON representation

Through this project, all messages are broadcasted in real-time to all connected clients while maintaining a complete history of conversations.

Awesome Lists containing this project

README

          

# WebFlux WebSocket Chat: The Chat Application as a Message Hub


## Overview
This project is a sophisticated chat application built using Spring WebFlux and WebSocket.
It leverages RTopicReactive for real-time message broadcasting and RListReactive for persisting chat history.
The application ensures efficient,non-blocking communication, making it scalable and responsive.
By combining Reactive Programming with WebSocket, it offers an optimized chat experience, suitable for high-concurrency environments.
This setup ensures that all messages are broadcasted in real-time to all connected clients while maintaining a complete history of conversations.

## Usages
- WebFlux WebSocket
- Redisson "Redis"

## Architecture of the Project

### 1-src folder
- Configration
- Service

### 2-resources folder
#### 2.1 static
- chat.html

### 2-Maven pom.xml



```


org.redisson
redisson-spring-boot-starter
3.16.6


org.springframework.boot
spring-boot-starter-webflux


org.springframework.boot
spring-boot-starter-test
test


io.projectreactor
reactor-test
test


```


###### Output :star_struck:

chat-1

chat-2

chat-3

---

### Good Luck