GPU Telemetry Collection and Analytics Platform
Design an end-to-end GPU telemetry platform with 30-second fleet monitoring, bounded one-second investigations, three-month trends, and per-GPU drilldown.
Problem statement
For this exercise, assume a platform team runs a lightweight telemetry agent on a fleet of machines and provides an internal dashboard for performance investigations.
Every enrolled GPU must report a durable 30-second baseline for configured metrics, while operators can activate one-second collection for a bounded set of GPUs. The dashboard shows three-month fleet trends and lets an operator move from a suspicious interval to per-GPU, per-second data for the most recent seven days.
Design the control plane, agents, ingestion path, multi-resolution storage, rollup processing, and query service. Every sample and rollup must retain event-time and source lineage; policy changes must not mix resolutions; late or missing data must remain visible.
Alert evaluation and automated remediation are out of scope.
What to build
- Let operators activate, update, expire, and audit 30-second baseline and one-second investigation policies for explicit targets and metrics.
- Collect and durably ingest timestamped telemetry at the effective policy resolution while preserving GPU, metric, policy-version, sample identity, and gap lineage.
- Let operators filter and compare three-month fleet and group trends without scanning all per-second source data.
- Let an operator drill from a trend interval to exact per-GPU, per-second samples and see freshness, gaps, and rollup lineage.
At scale
- Support 10,000 enrolled machines with eight GPUs and 100 configured metrics per GPU at the 30-second baseline; at most 10% of GPUs use one-second collection concurrently. Keep each agent below 2% of one CPU core and a 30-minute local buffer; under pressure preserve baseline data and emit explicit gaps.
- Apply an accepted policy change to 99% of reachable agents within 60 seconds; one-second policies expire automatically after at most six hours unless renewed.
- Make one-second samples queryable within 15 seconds and baseline samples within 90 seconds; return a three-month trend in two seconds at p95 and a seven-day per-GPU drilldown in five seconds at p95.
- Retain one-second source samples for seven days, 30-second points for 30 days, and lineage-bearing five-minute rollups for three months.