2026
Restock Analytics platform
Technical lead, architecture · Amazon Business
- Java
- TypeScript
- React
- AWS
- GraphQL
A self-service analytics dashboard that gives Restock customers business insight into their own account — inventory health, spend, service visits and orders. Customers had no view of this before; it existed only inside Amazon. Delivered in three releases over nine months.
- Built the federated micro-frontend embedded in the Amazon Business portal: a standalone SPA, three Brazil packages, and a self-mutating beta/gamma/prod pipeline that deploys independently of the portal's release train.
- Landed the portal-side integration — controller, JSP, feature gate and translations — and reused the portal's navigation instead of rebuilding it.
- Defined the first release's metrics (inventory health, spend, order) with PM and UX, and guided another engineer through the metric design end to end.
- Shipped to the first external customer on 7/14, with full rollout by 7/30.
- Influenced the portal team's Principal PM to reposition Amazon Business as a multi-tenant host — Restock analytics became the first tenant and the reference implementation.
- Owned the metric definitions and technical design for three surfaces: a completion-rate card, an upcoming-visits card and a per-visit table with building, status and service-type filters.
- Turned an ambiguous "completion rate" into a defensible definition — completed ÷ expected recurring appointments, capped at 100%, at building grain, excluding ad-hoc one-offs via the schedule type, with a prior-window delta and a data-freshness line.
- Reconciled that definition against the existing weekly completion-rate ETL and documented where the customer-facing number intentionally differs.
- Routed all three surfaces through the existing dashboard query path rather than a new integration, and shipped behind a server-side weblab.
- Delivered five net-new widgets: fill rate, frequently ordered items, an orders table, spend over time, and spend by UNSPSC category.
- Designed the order and spend data model — seven tables built for idempotent replay and run-scoped keys, including a run identifier on each order line so a line can exist before its enrichment arrives.
- Chose the enrichment architecture from three options reviewed with both teams' senior engineers. Production data settled it: 37% of runs emit their purchase event 2–10s after metadata, so a 5-minute retry replaced a replay table and removed any need for direct access to the ordering system's tables.
- Wrote the design doc and task breakdown that new engineers onboard from, and ran the recurring design reviews that kept the work moving as engineers rotated through.
- Worked the downstream onboarding — a 2 TPS throttle and monitoring coverage — with the team that owns the analytics service.
Result
- Deployment went from 2–3 weeks on the shared release train to about 10 minutes.
- Amazon Business repositioned the portal as a multi-tenant host; Restock analytics is the first tenant and the reference implementation.
- Design sized at 0.1 requests per second against the downstream 2 TPS limit — about 20x headroom — with two documented fallbacks that need no schema change.
- Numbers match Amazon Business Analytics, because both read the same downstream data — so the dashboard is trusted as a second view, not a competing one.