← All case studies
Data EngineeringOperationsOdyssey Analytics · 2023

Hajj Transport Optimisation

Anomaly detection and traffic-trend models over 5 GB/day of vehicle telemetry for Saudi Hajj transport.

+50%fleet operational efficiency

Context

Moving millions of pilgrims during Hajj depends on a large bus fleet operating in a narrow window under heavy congestion.

Challenge

Turn 5 GB/day of raw vehicle telemetry into signals operators could act on during the event.

My role

Directed the programme and owned client delivery.

Architecture

How the system fits together

Hajj Transport Optimisation architecture diagramVehicle telemetryGPS · 5 GB/dayIngestionbatch + near-real-timeSpark processingtrip featuresAnomaly detectionstops · delaysTraffic forecastingtime seriesOps dashboarddispatch decisions
External sourceServiceData storeModel / AIUser / outputTelemetry / async

Simplified for public sharing; client-specific details are omitted.

Approach

Key engineering decisions

  1. 01

    Telemetry pipeline

    GPS and vehicle telemetry is ingested and processed with Spark into clean trip and segment features.

  2. 02

    Anomaly detection

    Unusual stops, routes and delays are flagged for operators as they happen.

  3. 03

    Traffic-trend models

    Time-series models forecast congestion patterns to support dispatch and routing decisions.