Dec 2024 - Present
Real-Time Route Matching over Live GPS Streams
Developed a production route-matching pipeline over noisy vehicle telemetry to reduce unmatched trips and eliminate manual reconciliation overhead.
TypeScriptNestJSRedisKafkaAWS ECSGeospatial Processing
Vehicles Processed
1,200+/day
Unmatched Trips Reduction
73%
Data Archive Efficiency
2 TB/month
Problem
Trip-route alignment in production had high mismatch rates due to GPS jitter and route fragmentation.
Architecture
I implemented an event-driven matching service that consumed live telemetry streams and resolved route candidates in near real time.
- Built map-aware scoring heuristics combining distance, heading, and temporal continuity.
- Introduced Redis-backed state windows to reconcile partial trip segments.
- Added archive workflows to offload stale telemetry to object storage with predictable retention.
Results
The system significantly reduced unresolved trips and removed repetitive manual correction loops from operations teams.
Engineering Notes
The key reliability win came from decomposing matching logic into deterministic scoring stages, each independently testable and observable.