Skip to content

This repository contains code that demonstrates how to implement Real Time Chat application using Spring Boot Websockets and DragonflyDB Pub/Sub. DragonflyDB is a drop-in replacement for Redis

Notifications You must be signed in to change notification settings

SaiUpadhyayula/spring-boot-websocket-chat-pubsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Real Time Chat Application using Websocket and DragonflyDB

This project contains source code to implement a Real Time Chat application using Spring Boot Websockets and DragonflyDB for Pub/Sub Architecture.

Tech Stack

  • Spring Boot with Websockets
  • DragonflyDB for Pub/Sub Pattern

Application Architecture

img.png

Running Application

  • Start DragonflyDB by running the below command
docker compose up -d
  • Run 2 of the Chat application by running below command
mvn spring-boot:run -Dspring-boot.run.profiles=instance1
mvn spring-boot:run -Dspring-boot.run.profiles=instance2

About

This repository contains code that demonstrates how to implement Real Time Chat application using Spring Boot Websockets and DragonflyDB Pub/Sub. DragonflyDB is a drop-in replacement for Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published