Skip to content
Mohammed Kharbotli

~/blog

Blog

Notes on backend engineering, distributed systems, databases, and running software in production.

11 posts · rss

Pinned

  • Welcome

    A personal space where I share my work and write about PHP, Symfony, backend architecture, reliability, security, and practical software engineering.

2026

  • What a PHP Security Patch Reveals About Large Applications

    A look at what PHP security updates reveal about maintaining large applications. Explore the challenges of different deployment architectures, legacy environments, containers, background workers, and the importance of knowing what actually runs in production.

    #php #php-security #php2shell #software-architecture #legacy #devops #deployment-strategies #maintainability #deployability #docker

  • How I Approach an Unfamiliar Plain PHP Codebase

    Exploring an unfamiliar plain PHP application can be tricky. I share how I trace execution paths, uncover hidden dependencies, understand existing behaviour, and figure out what might break before making changes.

    #php #legacy-code #software-maintenance #code-quality #software-architecture #debugging #backend-development #testing #refactoring

  • Before Adding PHP-FPM Workers, Find Out What’s Actually Slow

    Learn how to diagnose and fix PHP-FPM performance bottlenecks under real production traffic instead of blindly scaling replicas. This guide covers checking FPM status, enabling slow logs, inspecting container resources, and sizing workers based on evidence.

    #php #docker #containers #performance #production #devops

  • When Symfony Messenger Is the Wrong Tool

    Symfony Messenger is powerful, but not every slow operation needs a queue. I explore six situations where asynchronous processing creates more problems than it solves, covering transactions, retries, idempotency, and simpler alternatives with practical PHP examples.

    #php #symfony #software-architecture #best-practices #backend-development

  • Why Moving Code into a Service Doesn’t Improve the Design by Itself

    Moving code into a service can shrink a controller without fixing the design. This article looks at responsibilities, dependencies, transaction boundaries, side effects, and tests that show whether a refactor created a meaningful boundary.

    #php #symfony #software-architecture #refactoring #doctrine #clean-code