Retour au Portfolio
DisChat – High-Performance Real-Time Chat Platform
Application Web Full-Stack
Projet Actif

DisChat – High-Performance Real-Time Chat Platform

A Discord-inspired real-time chat platform built with a blazing-fast Rust backend, WebSocket connections, dual-database architecture (PostgreSQL + MongoDB), and a modern TypeScript frontend.

Vue d'ensemble du projet

DisChat is a high-performance, Discord-like chat platform engineered for scalability and real-time responsiveness. The backend is written in Rust using the Actix-Web framework, delivering sub-millisecond message latency and effortless handling of thousands of concurrent WebSocket connections.

The architecture uses a dual-database strategy: PostgreSQL manages relational data such as users, channels, and permissions, while MongoDB stores chat message history for flexible, high-throughput document storage. This combination ensures both data integrity and write performance at scale.

The frontend is built with TypeScript, delivering a responsive and type-safe user experience. Features include server/channel organization, direct messages, real-time presence indicators, file sharing, and role-based access control — mirroring the core workflow of Discord with a lean, modern stack.

Fonctionnalités clés

⚡ **Rust WebSocket Server** – Actix-Web powered backend handling 10,000+ concurrent connections with minimal CPU usage
💬 **Real-time Messaging** – Instant message delivery via WebSocket protocol with automatic reconnect
🗄️ **Dual Database Architecture** – PostgreSQL for relational data + MongoDB for scalable message history
🏠 **Servers & Channels** – Create communities, organize topics into channels, and manage members
🔐 **Role-based Access Control** – Fine-grained permissions per server and channel
📁 **File & Media Sharing** – Upload and preview images and files directly in chat
🟢 **Presence & Status** – Real-time online/offline indicators and typing notifications
🔔 **Notification System** – Configurable push and in-app notifications per channel

Technologies utilisées

Rust
Actix-Web
WebSocket
PostgreSQL
MongoDB
TypeScript
React
Tailwind CSS
Docker
JWT Authentication

© 2026 Sina Ganji. Tous droits réservés.

0%