Mediahub – Messaging Platform

Mediahub is a messaging platform inspired by Zalo supporting real-time communication, AI-powered chatbot interaction, and cloud-native deployment.

Overview

Mediahub is a full-featured microservices messaging platform built with Spring Boot. It supports real-time communication through WebSocket STOMP, AI-powered chatbot interactions using Retrieval-Augmented Generation (RAG), and robust security features like JWT authentication and rate limiting. The services are containerized using Docker, managed automatically with Jenkins CI/CD pipelines, and deployed onto a Kubernetes cluster. The distributed data layer integrates MongoDB for message storage, PostgreSQL for user directories, and Redis for caching and session state.

Architecture

Microservices architecture orchestrated with Kubernetes and CI/CD pipelines

Mediahub – Messaging Platform Architecture Diagram
Click to zoom diagram

Key Features

Real-time messaging using WebSocket STOMP
Device login limitation using Redis session tracking
Image upload service using AWS S3
AI chatbot using Retrieval-Augmented Generation (RAG)
JWT authentication & Rate limiting
Automated CI/CD deployment pipelines using Jenkins
Container orchestration on Kubernetes cluster

Technologies

Spring BootMongoDBRedisWebSocket STOMPJWT AuthenticationAWS S3OpenAI APIJenkinsKubernetesDocker

Architecture

Microservices architecture orchestrated with Kubernetes and CI/CD pipelines