A robust and horizontal scalable real-time chat server using SpringBoot WebFlux and Websocket-Redis(Pub/Sub). This demonstrates a real-time chat server in a Microservice Architecture to handle high demands, while maintaining Sync between multiple instances.
Horizontal scaling refers to adding more machines to your infrastructure to cope with the high demand on the server. In our microservice context, scaling horizontally is the same as deploying more instances of the microservice, A load balancer will then be required to distribute the traffic among the multiple microservice instances
This solution is inspired by Amr Saleh article - Building Scalable Facebook-like Notification using Server-Sent Events and Redis