Driftline
2025Real-time fleet dispatch dashboard · Full-stack lead
A mid-size courier company was running dispatch off a whiteboard and a shared spreadsheet — drivers got assignments by phone call, and the office had no idea where any of the 140 vans actually were. Driftline replaced all of that with a live map, drag-to-reassign routing, and per-driver mobile views. The decision that mattered most was choosing WebSockets over polling for position updates: at 140 vehicles pinging every 3 seconds, polling would have meant ~47 requests/second of mostly-redundant traffic, so we built a single WS gateway backed by Redis pub/sub, with Postgres as the durable store and a reconciliation job that replays missed frames on reconnect. Dispatch latency dropped from "whenever someone called" to under 400ms end-to-end.
- React
- TypeScript
- Node.js
- PostgreSQL
- WebSockets
- Redis