Which route exposes cargo to the least risk? FreightScaler compares route alternatives not just by travel time but by live weather risk, official NWS alerts, and road-event exposure — with per-segment explanations (rain, flood, wind, heat, winter), saved route watchlists with monitoring thresholds, and a multi-tenant SaaS account layer. If a data source is unavailable, the UI says so rather than showing fabricated data.
The platform grew through four phases, each triggered by a user demand that broke a different scaling axis:
| Phase | Trigger | What broke | Response |
|---|---|---|---|
| Route risk query | Initial product | — | Lambda + DynamoDB, fully serverless |
| Fleet telemetry | Live truck tracking | ~28M GPS events/day, WebSocket fan-out | Kafka + TimescaleDB hypertable + nginx LB |
| Freight marketplace | Carrier matching | 500 concurrent bids | CQRS + optimistic locking + Redis Sorted Set |
| Settlement | Delay liability | Multi-step payments | Saga orchestrator + atomic wallet + idempotency |
Telemetry is write-heavy, tracking is connection-heavy, bidding is contention-heavy, settlement is consistency-heavy — different axes a monolith can't scale independently.
React/TypeScript client renders segment-level risk breakdowns so users see why a
corridor scores differently. A /status page exposes live data-source health,
retry/fallback counters, and performance snapshots — operational transparency as a product
feature. Terraform-managed infra, GitHub Actions CI with security scanning, promote-to-prod
and rollback pipelines.
Billing isn't wired (the entitlement boundary exists so payment slots in later); the marketplace phase is documented more than deployed; settlement is design + foundation, not a live money path. The boundaries landed before the risky parts did — deliberately.