Commercial Licenses Dashboard
2026
Real-time monitoring platform for government employees across Saudi municipalities. Event-driven replication into Elasticsearch + ArcGIS via dedicated RabbitMQ Streams with replay capability.
The problem
Tens of thousands of commercial licences are issued nationwide every month. Municipal officials need real-time visibility — search by trader, location, status, prohibition flags — plus map-based exploration for field operations.
The architecture
A read-side projection of the Commercial Domain, populated by event-driven replication:
- Elasticsearch indexes for search, KPIs, and pre-calculated prohibition flags (so officials see “this license cannot be renewed” instantly, without a join)
- ArcGIS Server for spatial / map / radius queries
- Dedicated RabbitMQ Streams with 7-day replay capability so the read side can be rebuilt without bothering the write side
The BFF + Data Access Services tier assembles per-page payloads that match the dashboard’s widgets. A three-tier role-based scope via MOMAH SSO claims controls what each official can see (their municipality, their region, or nationwide).
Outcome
Real-time nationwide visibility for licence supervision. Replay lets the read side be evolved or rebuilt without disturbing the operational system.