DRS-SYNC: Data Relaying System in Sync

In motorsport, precision isn't just mechanical – it's digital. Every race generates gigabytes of telemetry data that engineers rely on for real-time insights. Yet, when network connections falter, even briefly, critical data can be delayed or lost, disrupting decisions and outcomes.

That challenge inspired us to build DRS-SYNC (Data Relaying System in Sync) – a C++ based, high-speed, fault-tolerant file transfer system designed to handle unstable networks with reliability and grace. Just as a driver trusts their car through every turn, DRS-SYNC ensures data remains stable and in sync, even under pressure.


Key Features

  • Secure, Consistent, and Lossless Transfers: Built with OpenSSL (SHA-256) to guarantee data integrity through secure and verifiable transfers.

  • Chunked Parallel Transmission: Files are divided into 1450-byte chunks and transferred via a custom UDP protocol using Boost.Asio, ensuring optimal speed and minimal latency.

  • Check-pointed Recovery: Transfers resume automatically from the last verified packet after disconnection using a sliding window algorithm and timeout-based retransmission.

  • Priority-Based Scheduling: A Priority Queue Engine dynamically allocates bandwidth to ensure critical telemetry data always gets delivered first.

  • Real-Time Monitoring Dashboard: A Next.js + React frontend visualizes live transfer metrics with an F1-style interface using WebSockets, Chart.js, and TailwindCSS.


System Architecture

The modular architecture of DRS-SYNC includes:

  1. Replication Engine : Manages multi-threaded transfers using pthreads and asynchronous I/O.

  2. Integrity Layer : Performs checksum verification using OpenSSL.

  3. Fault Recovery System : Enables check-pointed restarts and loss recovery.

  4. Priority Queue Manager : Allocates bandwidth based on data importance.

  5. Monitoring Dashboard : Displays real-time performance and transfer analytics.

Monitoring tools like Prometheus and Grafana capture throughput, packet loss, and latency for performance visualization and optimization.


Engineering Challenges

Developing DRS-SYNC involves addressing synchronization conflicts, optimizing recovery mechanisms, and balancing multi-threaded performance with minimal retransmission overhead. Ensuring low latency while maintaining high reliability across fluctuating networks remains a key engineering focus.


Beyond the Track

While DRS-SYNC was designed for motorsport telemetry, its architecture extends naturally to edge computing, IoT systems, and distributed analytics. By combining performance with resilience, DRS-SYNC aims to redefine how data stays synchronized in motion – fast, reliable, and always in sync.

Built With

Share this project:

Updates