Dispatch
Overview
Dispatch is a full-stack fulfillment routing and warehouse assignment system built to automate the conversion of incoming orders into fulfillable parcels. It selects the optimal warehouse for each parcel based on real-time stock availability, shipping cost, and order priority — then tracks each shipment through to delivery via third-party tracking integrations.
The system runs as part of a broader microservices platform and handles high-volume concurrent queue processing while maintaining strict stock consistency across multiple warehouses. It replaced a largely manual fulfillment workflow and scaled to 200,000+ parcels per month.
Features
- Order priority-based queue — ensures high-value and time-sensitive orders are processed first
- Warehouse placement engine — selects the optimal warehouse per parcel based on stock availability and shipping cost
- Stock forecasting and cross-warehouse synchronization to prevent overselling
- Per-parcel and per-order cost calculation for operations reporting
- API and internal UI for manual operations and fulfillment adjustments by logistics teams
- Real-time tracking updates via third-party tracking system integrations
- Automated concurrent queue processing to handle high order volumes while keeping stock consistent
Architecture
Part of a broader microservices ecosystem. Dispatch receives order events from upstream services and emits parcel and tracking events consumed by other services in the platform.