Skip to content

LovepreetSingh12/distributed-observability-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Distributed Observability & Troubleshooting Platform

A high-throughput distributed backend system designed for real-time event ingestion, aggregation, and troubleshooting.

πŸ“Œ Overview

This platform processes large-scale backend events and provides real-time insights for debugging and monitoring distributed systems.

  • Handles 100K+ events/day
  • Built with scalable microservices architecture
  • Optimized for low latency and high throughput

πŸ—οΈ Architecture

Producers β†’ Kafka β†’ Ingestion Service β†’ MongoDB ↓ Redis (Caching / Rate Limiting) ↓ Query / Aggregation APIs

Components:

  • Kafka β†’ Event streaming & ingestion
  • Ingestion Service β†’ Parallel consumers for processing
  • MongoDB β†’ Persistent storage with optimized indexing
  • Redis β†’ Caching & fast lookups
  • Logging SDK β†’ Reusable client for event publishing

βš™οΈ Tech Stack

  • Backend: Java, Spring Boot
  • Streaming: Apache Kafka
  • Database: MongoDB
  • Caching: Redis
  • DevOps: Docker

πŸ”₯ Features

  • ⚑ Real-time event ingestion using Kafka
  • πŸ“Š Efficient time-range queries with indexed MongoDB collections
  • πŸš€ Parallel processing using multi-threaded consumers
  • 🧠 Smart caching with Redis to reduce DB load
  • πŸ”Œ Plug-and-play logging SDK for easy integration
  • 🐳 Fully containerized using Docker

πŸ“ˆ Performance Optimizations

  • Batch writes to MongoDB
  • Indexed queries for time-series data
  • Concurrent Kafka consumers
  • Redis caching for hot data

πŸ§ͺ How to Run

Prerequisites

  • Java 17+
  • Docker
  • Kafka & Zookeeper
  • MongoDB
  • Redis

Steps

# Clone repo
git clone <repo-url>

# Start dependencies (Docker)
docker-compose up -d

# Run application
./mvnw spring-boot:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages