Project Overview
Actitrack is a geo-tracking Software-as-a-Service (SaaS) platform designed for live fleet tracking, route replay, and personnel management. The project required handling constant location updates from thousands of active mobile clients and delivering real-time map updates to admin dashboards with sub-second latency.
Technical Accomplishments
1. Hybrid Backend Architecture
To handle high-write ingestion without overloading the primary application server:- Designed an API Gateway using Laravel to manage user authentication, billing, dashboard access, and historical search APIs.
- Built a specialized, high-performance ingestion microservice in Go to handle WebSocket connections and process location telemetry streams.
- Achieved stable ingestion of over 5,000 requests/second during peak mobile client syncing.
2. WebSocket Real-Time Broadcasting
- Implemented a pub/sub mechanism using Redis to bridge the Laravel backend events with the Go WebSocket server.
- Decoupled payload broadcasting from HTTP request-response cycles, resulting in smooth live-map updates under 100ms.
- Integrated geospatial query buffers to group vehicle data before broadcasting, reducing browser rendering overhead.