← All work

Real-time vessel tracking & risk screening

Live AIS positions for 4,500+ vessels on one map, with ships, owners and flags screened against public risk lists.

Problem
Trade and compliance teams need to know where a vessel is, and whether the ship, its owner or its flag carries risk.
My role
Software engineer. AIS positions streamed over WebSocket into a Java / Spring Boot backend, stored in PostgreSQL / PostGIS and shown live on a React map, plus a rule-based port congestion score.
A hard decision
With thousands of markers moving at once, the map lagged on every update. Replacing React-Leaflet with direct Leaflet calls cut the re-render lag.
Result
4,500+ vessels tracked at once, with risk screening and a congestion score per port (vessels in zone, at anchor, and average wait against capacity).
Stack
JavaSpring BootWebSocketPostgreSQL / PostGISReactLeaflet