How Lastyard.space Built Zero-Loss Telemetry Infrastructure for Endurance Athletes
Lastyard.space has engineered a high-availability telemetry ingestion system that treats athlete workout data with the same rigor as production distributed infrastructure. The platform captures real-time metrics — including heart rate, cadence, elevation, and pace — from Apple Watch via a mobile edge collector, routing data through WireGuard tunnels and a Traefik ingress layer into a durable PostgreSQL event log. A core design principle is at-least-once delivery with idempotent writes, meaning duplicate or delayed samples from flaky mobile connections are merged rather than double-counted, using a composite primary key of athlete ID, workout ID, metric, and sample timestamp. The architecture separates the write ingestion path from live SSE read streams, ensuring dashboards and race control panels remain functional even under backend pressure. The system was validated against a real 21.1 km trail run logged on 12 September 2026, demonstrating stable data capture across 115 minutes of sustained metabolic load.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in