Skip to content
View mahdighadiriii's full-sized avatar
  • Iran,Tehran
  • 11:45 (UTC +03:30)

Block or report mahdighadiriii

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mahdighadiriii/README.md

Mahdi Ghadiri

Senior Backend Engineer | System Architect | DevOps Practitioner

Building production-grade distributed systems with Python, Django, and cloud-native technologies. Currently focused on DevOps engineering, infrastructure automation, and architectural patterns.

📍 Tehran, Iran
📧 mahdighadiriafzal@gmail.com
🔗 LinkedIn


Current Focus

DevOps Engineering & Infrastructure (Q1-Q2 2025)

  • Advanced Kubernetes patterns and operators
  • CI/CD pipeline optimization and GitOps workflows
  • Infrastructure as Code (Terraform, Helm)
  • Cloud-native observability and monitoring
  • Container orchestration and service mesh architectures

Professional Highlights

4+ Years Backend Engineering Experience building high-scale production systems across ride-hailing, telecommunications infrastructure, and travel industries.

Key Achievements:

  • Architected microservices infrastructure for real-time geolocation and ride-matching platform serving thousands of concurrent users
  • Built national-scale DCIM monitoring system tracking data center infrastructure across Iran's telecommunications network
  • Designed and implemented CI/CD pipelines eliminating deployment bottlenecks for 29-developer engineering teams
  • Developed comprehensive observability solutions using Prometheus, Grafana, Loki, and Tempo for critical infrastructure
  • Optimized database performance and query patterns for high-traffic applications handling millions of requests
  • Mentored engineering teams on architectural patterns, code quality, and DevOps best practices

Technical Expertise

Backend & Core

Primary: Python • Django • Django Rest Framework • FastAPI
APIs & Architecture: RESTful API Design • GraphQL • Microservices Architecture • Domain-Driven Design • Hexagonal Architecture • Clean Architecture • SOLID Principles

Infrastructure & DevOps

Containerization: Docker • Kubernetes • Helm
CI/CD: GitLab CI/CD • GitHub Actions • Infrastructure as Code
Orchestration: Container Orchestration • Service Mesh • Nginx

Data & Storage

Databases: PostgreSQL • MongoDB • InfluxDB
Caching & Search: Redis • Elasticsearch
Optimization: Query Optimization • Database Design • Indexing Strategies

Observability & Monitoring

Stack: Prometheus • Grafana • Loki • Tempo • Sentry • OpenTelemetry
Focus: System Monitoring • Distributed Tracing • Performance Profiling • Alert Management

Async & Messaging

Message Brokers: RabbitMQ • Apache Kafka
Task Queues: Celery
Patterns: Event-Driven Architecture • Pub/Sub • Message Queue Patterns

Featured Projects

Primary Focus Project - Q1 2025

Enterprise-grade AI Gateway demonstrating advanced software architecture patterns for multi-provider LLM routing and management. A showcase of clean architecture principles applied to modern AI infrastructure.

Architecture Highlights:

  • Pure DDD Implementation with bounded contexts: Completion Context, Billing Context, Workflow Context, Platform Context
  • Hexagonal Architecture with strict port/adapter separation ensuring framework independence
  • Shared Kernel for cross-cutting domain concepts and events
  • Strategic Design Patterns: Factory, Strategy, Decorator for routing and caching logic
  • Value Objects for type safety: Cost, ModelName, Prompt, Tokens
  • Domain Services for complex business logic (Provider Factory, Routing Strategies)

Technical Implementation:

  • Multi-provider adapters (OpenAI, Anthropic, Google Gemini) with unified interface
  • Intelligent routing strategies: cost optimization, quality prioritization, speed optimization
  • Application layer with use cases, DTOs, and cross-cutting concerns (cache, retry decorators)
  • Infrastructure layer with adapters for external systems (cache, persistence, providers)
  • Comprehensive test coverage following testing pyramid

Tech Stack: Python, FastAPI, Domain-Driven Design, Hexagonal Architecture, Poetry, pytest

Why This Matters: Demonstrates ability to architect complex systems following enterprise patterns, separating business logic from infrastructure concerns, and building maintainable, testable code at scale.


PyPI Downloads

Production-ready Django middleware providing comprehensive application monitoring with OpenTelemetry integration.

Features:

  • Real-time metrics and distributed tracing
  • Database query performance monitoring
  • Prometheus, Loki & Tempo integration
  • Production-tested on high-traffic systems

Impact: Actively used in production environments, helping teams gain visibility into Django application performance


Certifications & Continuous Learning

  • Associate DevOps Certification - Arvan Cloud (2025)
  • FastAPI Certification - Maktabkhooneh (2025)
  • Linux Operating System - Maktabkhooneh (2022)
  • Django Rest Framework Developer (DDC) - Maktabkhooneh (2023)
  • Python Web Developer (PWD) - Laitec (2021)

Open Source & Community

I maintain django-observability, an open-source monitoring solution for Django applications with active users in production environments.

Open to:

  • Open source collaboration on DevOps and backend infrastructure projects
  • Technical consulting for system architecture and scalability challenges
  • Speaking engagements on DDD, Hexagonal Architecture, or DevOps practices
  • Mentoring backend engineers transitioning to senior roles

Let's Connect

💼 LinkedIn • 💻 GitHub • 📧 mahdighadiriafzal@gmail.com


Building scalable systems, one microservice at a time.

Pinned Loading

  1. django-observability django-observability Public

    Django Observability Toolkit A modern observability package for Django with OpenTelemetry, Prometheus, and structured logging support. This package provides a plug-and-play observability layer for …

    Python 1

  2. FullStack FullStack Public

    A modern, scalable full-stack web application built with Django, React, Next.js, and Vite - showcasing the perfect blend of robust backend architecture and cutting-edge frontend technologies.

    Python 1

  3. Fast_Api Fast_Api Public

    A modern web application built with FastAPI, designed for high-performance APIs and scalable backend services. This project leverages Docker for containerized deployment, Redis as a fast in-memory …

    Python 1

  4. Fastapi-DDD-Hexagonal-Todo Fastapi-DDD-Hexagonal-Todo Public

    The FastAPI DDD Hexagonal Todo API is an educational yet production-ready reference implementation that bridges the gap between simple tutorials and real-world enterprise applications. **The Proble…

    Python 1