Lead Software Architect | iSoft (Saudi Ministry of Standards, Metrology and Quality) | 2021 – 2024
Executive Overview
- ->Client: Saudi Ministry of Standards, Metrology and Quality (SASO)
- ->Sector: Public Sector — Federal
- ->Role: Technical Lead & Senior Software Engineer (via iSoft)
- ->Engagement Duration: 2021 – 2024 (Multi-phase delivery across 3 years)
Architectural Context & Mandate
Designed and engineered a nationwide vehicle inspection and modification scheduling platform responsible for managing multi-lane inspection facilities across Saudi Arabia operating within strict 15-minute booking windows. Delivered over three distinct phases (initial platform architecture, performance optimization, and headless migration), the system handled high-concurrency demands across three independent client types (public web portal, state internal administration backend, and mobile application) competing simultaneously for identical time slots.
Due to strict government data security policies, production infrastructure access was restricted. All validation, performance stress testing, and deployment verification were executed within high-fidelity pre-production simulated environments using environment-agnostic engineering standards.
Core Architectural Competencies
- ->Distributed Concurrency Control & Deterministic State Locking
- ->Relational Database Design & Schema Hybridization (3NF / Star Schema)
- ->Headless & Decoupled Content Management System Architecture Migration
- ->API Contract Design, Versioning & State Management
- ->Legacy System Remediation & Micro-Frontend Decoupling
- ->Engineering Process Standardization & Governance
Technical Infrastructure & Stack
- ->Languages: PHP, JavaScript (ES6+)
- ->Frameworks & Core Systems: Drupal 8/9, React
- ->Data Layer & Schemas: MySQL, 3NF (Transactional), Star Schema (Analytical OLAP)
- ->Infrastructure & Hosting: Government-subsidized third-party hosting (Simulated Pre-Production Pipeline)
Engineering Logic & System Architecture
//1. Distributed Concurrency Control
To resolve three-way transactional race conditions across the public portal, state backend, and mobile app competing for identical 15-minute scheduling blocks, a deterministic state-locking engine was implemented:
- ->Deferred Validation Protocol: Time slot selection defers reservation locking to the final workflow commit step, minimizing lock contention during user session navigation.
- ->Deterministic Timeout Recovery: Implemented an automated 5-minute inactivity TTL (Time-To-Live) window that recycles uncommitted booking reservations back to the national pool, preventing inventory lockups and recovering previously lost scheduling capacity at national scale.
//2. Hybrid Data Layer Optimization (3NF & Star Schema)
Addressed read/write contention and latency under peak national concurrency through database model restructuring:
- ->3NF Transactional Layer: Enforced third normal form across core booking transactions to eliminate data redundancy and guarantee ACID compliance.
- ->Star Schema Analytical Layer: Built denormalized star schemas for heavy read queries (e.g., facility availability calendars, location dropdowns), reducing dataset load times to near-instant execution under peak load.
//3. Decoupled Headless Migration
Led the phased evolution of the platform from a monolithic core into a decoupled micro-frontend/API architecture:
- ->API Extraction & Contract Design: Extracted and encapsulated validated business logic into versioned RESTful APIs.
- ->Frontend Independence: Migrated client interfaces to a React frontend, enabling independent deployment cycles, reduced client-side rendering overhead, and standardized API reuse across external state and mobile consumers.
//4. Edge Cases & Remediation Strategies
Proxy Delegation Authorization Layer
- ->Problem: Base architecture assumed identity parity between vehicle owners and drivers. Field operations required vehicle owners to delegate inspection tasks to third-party drivers.
- ->Solution: Engineered a portal-level proxy delegation authorization layer, allowing formal appointment delegation while retaining owner legal accountability and booking integrity.
Environment-Agnostic Validation Discipline
- ->Problem: Absence of direct production access due to federal hosting regulations.
- ->Solution: Established deterministic, environment-agnostic code conventions and synthetic stress-testing tooling in simulated pre-production environments to guarantee deployment stability prior to production handoff.
Engineering Standardization & Jira Workflow Integration
- ->Implementation: Standardized project-wide domain terminology dictionaries and restructured Jira release workflows to align with federal release calendars, establishing deterministic sprint delivery across distributed engineering teams.
Quantifiable Business & Engineering Impact
- ->Capacity Recovery: Eliminated distributed booking collisions across three competing clients, recovering 100% of abandoned 15-minute booking slots via deterministic 5-minute timeout locks.
- ->Query Performance: Reduced calendar and location dropdown dataset query latencies to near-instant execution through hybrid 3NF transactional and Star Schema analytical database isolation.
- ->Deployment Autonomy: Achieved full deployment independence between backend domain logic and frontend user interfaces by executing a multi-phase headless migration to a React-driven architecture.
- ->Release Reliability: Achieved zero-regression handoffs to federal production environments by enforcing environment-agnostic static analysis and pre-production simulation validation.