Scalable-chatApplication

Real-Time Distributed Chat System πŸš€

https://github.com/annattiwary12/Scalable-chatApplication

A scalable real-time messaging system built using Socket.IO, Redis (Pub/Sub), Kafka, and PostgreSQL, designed to support distributed servers with reliable message delivery and persistent chat history. Managed with TurboRepo for monorepo orchestration and optimized development workflows. Hosted using Aiven’s managed services.


πŸ“Έ Demo Screenshot

Screenshot 2025-05-27 012034


πŸ“¦ Monorepo Powered by TurboRepo

This project follows a monorepo structure using TurboRepo to manage the different parts of the system efficiently. TurboRepo enables:


πŸ“Œ Features


πŸ“Š Architecture Overview

Screenshot 2025-05-27 234640 β€”


πŸ”§ Technologies Used

Tech Purpose
TurboRepo Monorepo management & task orchestration
Socket.IO Real-time communication (WebSocket)
Redis (Aiven) Pub/Sub for syncing distributed servers
Kafka (Aiven) Reliable, fault-tolerant message streaming
PostgreSQL Persistent chat storage
Node.js Kafka consumer, socket server logic