Open a PR

work / pull/38

Pulse: real-time fleet tracking

#38

Mergedilyas merged 187 commits into main from pulse/live-map · 2024+9,870 −2,410

A live map and dispatch tool for a fleet of 3,000 delivery vehicles across three cities.

Client
Pulse Logistics
Role
Lead developer, team of four
Year
2024
Stack
React · WebSockets · PostGIS · Redis
pulse.app
Pulse: real-time fleet tracking
  1. IB

    ilyas commented · the problem

    The problem

    The old dashboard polled the database every second and fell over at 200 vehicles. Dispatchers refreshed the page to see where drivers were.

  2. added 187 commits on pulse/live-map
  3. IB

    ilyas commented · the approach

    The approach

    Drivers stream positions over WebSockets into Redis; a Node service fans updates out by map tile, so each dispatcher only receives what they can see. Routes and zones live in PostGIS.

  4. deployed to production · all checks passed
  5. IB

    ilyas commented · the result

    The result

    From 200 to 3,000 vehicles on the same servers, with positions under 150 ms old. Dispatch time per order dropped by 40%.

  6. Merged into main

screens/

Pulse, screen one
Pulse, screen two
Pulse on a phone

Next pull request · #31

Ledger

feat(ledger): invoicing SaaS for freelancers

Open the PR