Skip to content
Mohamed Naser
ع

Series · 3 parts

Scaling a Commodity Murabaha Platform

In January 2025 a stress test of ten automated orders left four of them stuck. Eighteen months later the same platform ran 5,200 orders end to end at 99.94%, and 5,000-order runs became a daily routine. This is what happened in between — fifteen case files, the failed attempts included.

  1. Part 1 · 13 min read

    Islamic Finance for Engineers: Murabaha as a State Machine

    A commodity Murabaha modelled as a state machine: the transitions a trade must pass through, why each one is legally load-bearing, and why stock is coded per unit.

  2. Part 2 · 19 min read

    MySQL Under Load in a Sharia-Compliant Pipeline

    What MySQL does under load in a Sharia-compliant trade pipeline: deadlocks, lock timeouts, a missing index, PDF generation and one self-inflicted DDoS.

  3. Part 3 · 15 min read

    Laravel Queue Workers in a Regulated Trade Pipeline

    Sizing Laravel queue workers for a regulated trade pipeline: splitting 22 queues, growing to 122 processes, and the rolling deploys that quietly skipped them.

← Blog