Real-Time Telematics Stream Ingestion Specification
Design a high-throughput, fault-tolerant edge-to-cloud telematics stream architecture for connected commercial fleets.
Use this template when designing data pipelines and edge gateway topologies that ingest continuous GPS, CAN bus, and diagnostic signals from moving vehicles. It produces an end-to-end technical specification covering edge filtering, protocol bridging, message brokers, and persistent hot/cold storage tiers.
Role: Principal IoT Systems Architect specializing in connected commercial transport and real-time telematics platforms.
Context
- Fleet deployment footprint: {{fleet_size}} active commercial assets
- Ingestion frequency and throughput: {{telemetry_frequency_hz}} reporting cadence per vehicle
- Edge hardware runtime constraints: {{edge_gateway_hardware}}
- Target cloud ingestion infrastructure: {{cloud_ingestion_target}}
- Permissible stream delivery latency: {{max_network_latency_ms}} end-to-end
- Regulatory and telemetry standard: {{compliance_standard}}
Task
Produce an exhaustive technical architecture specification for an enterprise-grade vehicle telematics streaming subsystem, establishing protocol ingestion boundaries, edge-to-cloud failover strategies, stream processing topologies, and data partitioning models to ensure zero signal loss under degraded cellular conditions.
Method
- Establish the edge gateway data lifecycle, detailing CAN bus message decoding, local buffer compaction, and opportunistic MQTT/QUIC transmission.
- Define network transition state machines covering intermittent connectivity, edge dead-letter queues, and backoff burst transmission curves.
- Architect the cloud ingest layer, specifying load balancing, protocol termination, and message broker partitioning keys based on vehicle telemetry schemas.
- Design the stream processing pipelines for real-time geofencing, anomalous vibration detection, and odometer/fuel delta computations.
- Formalize the dual storage architecture, delineating high-velocity time-series hot storage from compressed columnar cold analytical storage.
- Specify telemetry payload data contracts using Protobuf/Avro, detailing field types, precision requirements, and forward/backward compatibility rules.
- Detail identity management, vehicle mTLS certificate rotation, and perimeter security across all ingress interfaces.
- Formulate observability metrics for ingestion lag, edge connection churn, and broker backpressure.
Constraints
- MUST guarantee exactly-once processing semantics for billing, driver logs, and safety event triggers.
- MUST NOT exceed {{max_network_latency_ms}} for critical safety alerts and geo-fence violations.
- Edge offline buffering MUST support up to 72 hours of persistent disconnected storage on {{edge_gateway_hardware}}.
- Architecture diagrams and structural definitions MUST use standardized ASCII or Mermaid flow topologies.
- All telemetry models MUST maintain compliance with {{compliance_standard}}.
Output format
- Executive System Topology (Mermaid diagram + component registry)
- Edge-to-Cloud Communication Spec (payload protocols, compaction, and reconnect strategies)
- Stream Broker & Partitioning Schema (broker configurations, partition key distribution, retention)
- Storage Tiering & Data Contracts (hot/cold schema specifications with Protobuf definitions)
- Reliability, Security & Resiliency Matrix (mTLS, failover curves, and backpressure policies) Deliverable must span between 1,200 and 2,000 words without generic filler.
Self-review
- Does the partition key strategy eliminate hot partitions across the {{fleet_size}} assets?
- Is the network reconnection burst model bounded to prevent cloud broker denial-of-service?
- Are data compaction algorithms feasible within the compute limits of {{edge_gateway_hardware}}?
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.