Skip to content

kavyanjali256/Boteneck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Based Performance Bottleneck Detection System

LinkedIn Backend Case Study

Overview

This project focuses on detecting performance bottlenecks in distributed backend services using LinkedIn as a case study.

Modern platforms like LinkedIn rely on multiple backend services such as:

  • Feed Service
  • Profile Service
  • Recommendation Engine
  • Database Layer
  • Cache Layer

If any one of these services becomes slow, the overall response time of the application increases.

This project simulates such backend services and automatically identifies the bottleneck using performance metrics like:

  • latency
  • CPU usage
  • memory usage
  • response time

Problem Statement

To design a backend system that can monitor service performance and automatically detect bottlenecks in a distributed architecture similar to LinkedIn.


Objectives

  • Simulate backend services
  • Measure service latency
  • Detect slow services
  • Log performance metrics
  • Analyze root cause of delays
  • Build an AI-based anomaly detection system

Tech Stack

  • Python
  • Flask / FastAPI
  • psutil
  • pandas
  • scikit-learn
  • CSV / SQLite

Project Structure

linkedin-bottleneck-detector/
│
├── app/
│   ├── main.py
│   ├── services.py
│   ├── monitor.py
│   ├── detector.py
│   ├── logger.py
│   └── database.py
│
├── data/
│   └── performance_logs.csv
│
├── requirements.txt
└── README.md


<img width="1384" height="643" alt="Screenshot 2026-04-08 124947" src="https://github.com/user-attachments/assets/db090cc4-34c9-4dc3-b10d-b97fbb4f888f" />

About

Designed an AI-powered backend observability system to detect service bottlenecks and anomalies in a LinkedIn-inspired distributed architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages