Skip to content

Microservices

Platform Users — Engineers & Low-code Ops Users (ORA / Panel Builder) OR Platform ORA — AI Planning Interface Agent Workflows Plan Visualisation ADK Integration SDK UI — Frontend Shell FDK Architecture Low code Config-driven DDK Schema Definition Code Generator Generated Server MDK WEM DAL Experiment Manager Nexus Deployment Control Live Monitoring Registry Browser SCDK Source Control Pipeline Mgmt Azure DevOps deploys ↓ SDK API — GraphQL Federation Gateway Federation Gateway Component Resolvers Auth & Licensing Plugins: gql-autogeneration Migrator Helm KinD Boilerplate GenAI ··· Microservices — Domain IP Services Data Pipeline Core Platform Metrics & Analytics Spatial & Geo Simulation Event Detection Camera & Device Fire & Resource Opt. Satellite Modelling ↓ Nexus deploys Deployed OR Applications Rail Ops Dashboard Mine Mgmt Dashboard Port Ops Dashboard ··· FDK-built · DDK-backed · MDK-powered · deployed via Nexus ↑ Application Users — Operations Teams (shift managers, analysts, planners)

Optimal Reality's accelerator catalogue represents the deep domain IP the team has built across real-world client engagements. Each accelerator solves a specific operational or data challenge — from real-time data ingestion and spatial tagging to traffic simulation triggering and metric calculation — and is designed to be composable, reusable, and harvestable across projects.

These microservices are the building blocks that make OR a platform, not just a framework. They encode hard-won knowledge about how to ingest live data feeds, manage simulation lifecycles, detect events in real-time, and orchestrate complex data pipelines. Every accelerator documented here is IP owned by Optimal Reality and deployable across new client environments.

As the platform evolves toward AI-native orchestration, these microservices become tools that AI agents can reason about and compose. The combination of simulation microservices, data pipeline services, and AI agent capabilities is what enables OR to accelerate the path from business problem to real-time physical AI decision making.

Ground Transport Digital Twin Microservices

A real-time traffic operations and simulation system built for ground transport use cases. These components form the foundation of OR's transport domain IP and are deployable across any road network — from urban arterials to national highway corridors.

Data Pipeline

Components responsible for getting data into, through, and out of the platform.

ComponentDescription
Data IngestionIngests batched data from live external sources. Configurable HTTP-based retrieval with retry logic and timeout handling. Supports GTFS-R transit feeds with GeoJSON transformation.
Data Stream IngestionIngests streaming data from live sources. Handles continuous data feeds where batched ingestion is insufficient — listens to client-specific endpoints with a format general enough to accept different sources via config.
Data TransformerTransforms raw ingested data into the GraphQL format expected by the Experiment Manager. Bridges the gap between external data formats and the platform's internal data model.
Data FusionFuses multiple data sources and batches them by time. Aggregates data from different origins into coherent time-aligned datasets for downstream processing.
Data LoaderLoads static and reference data into relevant databases on stack spin-up. Hydrates the platform with the baseline datasets required for operation.
Data RecorderSaves snapshots of live data into the historic database at scheduled intervals. Copies data to PostgreSQL for long-term storage and analysis.
Data ArchiverArchives PostgreSQL data to S3 for long-term storage. Manages the data lifecycle from live operational data through to cold storage.
Data Redis IngestionIngests data from external Redis key stores. Bridges external Redis-based data sources into the platform.

Transport & Traffic Operations

Central coordination and operational logic for the transport domain.

ComponentDescription
Experiment ManagerCentral component responsible for all inter-service communication. GraphQL server with queries, mutations, and subscriptions. All data flows route through this service.
Session ManagerManages user sessions on the platform. Handles authentication state and session lifecycle.
Baseline ManagerManages baseline data creation and retrieval. Creation is triggered on Data Archiver completion. Retrieval surfaces historical data for comparison and analysis.
Search EngineFull-text search capabilities across platform data.

Metrics & Analytics

Components that compute derived insights from raw and processed data.

ComponentDescription
Metrics ServiceCalculates metrics in real-time from live data sources. Subscribes to data changes and runs updated calculations (e.g. average network speed).
Sim MetricsCalculates simulated metrics from traffic model outputs. Processes simulation results and generates comparable metrics for validation against actuals.
Simulation ValidationCalculates validation metrics by comparing simulation metrics against actual metrics. Determines how accurately the simulation reflects real-world conditions.

Spatial & Geospatial

Components that provide geographic intelligence to the platform.

ComponentDescription
Spatial ServiceLabels locations with relevant geographic names (e.g. suburbs, road segments). Used to geo-tag events — determining which road segments an incident is likely to impact.
Scats Graph ManagerTransforms SCATS intersection data into graph networks. Returns connected components to the frontend for network visualisation.
Route FinderCalculates optimal routes through the road network.
SchematicsProvides schematic representations of network infrastructure.

Simulation

Components that power the platform's simulation and scenario modelling capabilities — where AI reasoning meets physical simulation.

ComponentDescription
Realtime ManagerTriggers real-time simulations on a scheduled cycle (e.g. every 5 minutes).
Traffic ModelRuns the core traffic simulation model. Receives configuration, runs the simulation, and writes raw outputs back.
Schedule GenerationGenerates simulation input schedules from historical data, live data sources, and geospatial data.

Event Detection & Response

Components that detect, monitor, and respond to real-time events in the transport network.

ComponentDescription
Event ManagerDetects unplanned events (incidents, congestion) based on data from the Metrics Service. Uses spatial intelligence to determine impact zones.
Task AllocationTakes detected events and allocates response tasks. Bridges from event detection to operational action.
CCTV IntegrationIntegration service for serving live CCTV feeds to the frontend. Connects video surveillance infrastructure to the platform's operational view.
OpenLR ConverterConverts location references between OpenLR format and the platform's spatial representation.

Computer Vision

Components for processing live camera feeds and extracting operational intelligence from video.

ComponentDescription
AutoEyeCloud-based computer vision platform for processing CCTV streams. Produces aggregate vehicle counts from live camera feeds. Designed to scale to thousands of camera streams.
Camera ControlManages CCTV cameras including retrieving stream URLs and determining outages.
Panorama ControlLow-level management of Panorama devices, including deploying and redeploying applications to different streams.
Panorama Fleet ManagementHigh-level fleet management of Panorama devices. Handles monitoring, stream failures, and device tracking.

Other Microservices

Beyond ground transport, several microservices have been built for other engagements and internal R&D — demonstrating the platform's applicability across domains.

Fire & Resource Optimisation

Wildfire simulation and emergency resource allocation services built as part of a OR Alpha project. These components model fire ignition, spread dynamics, and optimal resource deployment across scenarios ranging from individual fire events to hundreds of simultaneous national-scale incidents.

ComponentDescription
Fire Spread ModellingJulia-based wildfire simulation — environment grid generation, fire spread modelling, stochastic analysis, national-scale fire assessment, and resource optimisation.
H3 Spatial IndexingPython geospatial utility providing Uber H3 hexagonal spatial indexing, coordinate-to-hex conversion, polygon point sampling, and multi-resolution aggregation for fire risk mapping.

Satellite Modelling

Satellite operations analysis services built for the Alpha Orbit project. These components provide end-to-end satellite coverage and communications planning — from orbit propagation and swath coverage through to ground station visibility and data downlink scheduling.

ComponentDescription
Satellite CoveragePython-based satellite swath coverage simulation — orbit propagation, swath footprint generation, hit testing, and revisit frequency analysis.
Ground Station CoveragePython-based satellite-to-ground-station visibility analysis — pass event detection with elevation/range constraints, optimal ground station assignment, and GeoJSON generation for map visualisation.

Data Flow Examples

Live Data Ingestion

External API / Sensor

Data Ingestion (HTTP retrieval, batching)

Data Transformer (raw → platform format)

Experiment Manager (stores live data)

├── Metrics Service (recalculates network metrics)
├── Spatial Service (geo-tags events)
└── Data Recorder (scheduled snapshot → historic storage)

Simulation Cycle

Realtime Manager (timer trigger)

Experiment Manager

Traffic Model + Schedule Generation

Sim Metrics (calculates metrics from simulation)

Simulation Validation (compares sim vs actual)

Event Detection

Metrics Service (detects anomalous values)

Event Manager (classifies event, determines spatial impact)

Task Allocation (assigns response tasks)

Frontend (displays event on operational dashboard)

Databases

The ground transport digital twin uses a polyglot persistence architecture — each storage engine chosen for its strengths:

DatabasePurpose
RedisIn-memory key-value store for real-time data (live sensor readings + simulation results)
RediSearchIn-memory search index powering the Search Engine
PostgreSQLHistoric and static reference data
PostgreSQL (Simulation)Simulation input data (schedules, trip information) — separate from operational data
Tile38Spatial key-value store for geographic data (roads, suburb definitions, intersection geometries)
S3Long-term archive storage for historic data and baseline snapshots

Subpages

Data Pipeline

Spatial & Geospatial

User documentation for Optimal Reality