Problem Statement: Telematics Is an Analytics Pipeline With a Real-Time Safety Edge
Frames fleet telematics as a high-rate ingestion and stream-analytics platform, not a GPS dot tracker.
Problem statement
Design a fleet telematics analysis platform that ingests live telemetry from fleet vehicles — speed, acceleration, braking force, engine RPM, coolant temperature, fuel level and consumption, GPS position, and OBD/J1939 fault codes — detects unsafe driving such as hard braking, harsh acceleration, aggressive cornering, and speeding, maintains a per-driver safety score, raises near-real-time alerts, and aggregates everything into management dashboards and KPIs. The fleet spans delivery vans, ride-share vehicles, and light trucks equipped with OBD-II dongles or hardwired telematics gateways.
The trap is to design a vehicle-tracking app. The actual system is a cyber-physical data platform with two very different clock speeds: a safety path that must flag a hard-braking event within seconds of the wheels locking up, and an analytics path that must sustain billions of rows per day for dashboards, coaching, insurance reporting, and maintenance forecasting. A design that conflates them either loses the alert latency race or bankrupts itself storing raw sensor data in a transactional database.
Why the problem is distinctive
A dashboard being five minutes stale is an inconvenience; a harsh-braking alert arriving forty minutes late is a useless artifact. Telemetry is also write-dominant and append-only: vehicles produce data whether anyone reads it or not, and the read patterns — a manager checking one driver, a nightly safety batch, an ML job scanning 90 days of trips — are wildly different. Finally, the data is personal: it reconstructs where a worker drove, how they drove, and when. Privacy and retention design is architecture, not a legal footnote.
Public operating baseline
The category is operationally real. Geotab publicly reports over 3 million connected vehicles and states it processes tens of billions of telematics data points per day through its MyGeotab platform. Samsara describes its Connected Operations Cloud as built on AWS services and reports vehicle gateways with edge AI cameras. Cambridge Mobile Telematics powers phone and OBD telematics programs for insurers across tens of millions of trips. These are company-reported figures used for context; every scale number used for capacity planning below is an explicitly stated design assumption.
The four architectural planes
- Ingestion plane: device identity, MQTT/HTTPS transport, schema validation, store-and-forward buffers.
- Detection plane: stream processors running event detectors, thresholds, and alert fan-out.
- Scoring and analytics plane: driver scores, trip rollups, dashboards, ML risk features.
- Governance plane: retention, privacy, consent, audit, and configuration distribution.
A strong answer keeps the planes separate: the detection plane degrades gracefully but never blocks ingestion, the scoring plane can lag without endangering alerts, and governance rules are enforced at the storage boundary.
Key Highlights
- •Telematics has two clock speeds: seconds for safety detection, hours for analytics and coaching.
- •Geotab company-reports 3M+ connected vehicles and tens of billions of data points per day; our capacity uses explicit assumptions.
- •Telemetry is write-dominant and append-only; reads are dashboards, batches, and ML scans.
- •Four planes: ingestion, detection, scoring/analytics, governance.
- •Driver telemetry is personal data; retention and minimization are design constraints from section one.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "I will separate the seconds-scale detection path from the hours-scale analytics path before choosing any storage."
- "Let me name the planes first, then assign a latency and consistency contract to each."