Sovereign Restaurant Delivery. In-House Fleet Orchestration.
A self-hosted logistics and dispatch engine built for independent restaurants and multi-unit hospitality groups. Reclaim 30% aggregator margins, orchestrate dedicated in-house couriers, and synchronize oven prep with real-time driver returns.
Project Overview
Independent restaurants and regional restaurant groups are facing severe margin erosion from centralized third-party delivery marketplaces (DoorDash, UberEats, SkipTheDishes), which extract 25% to 35% commission per ticket while keeping customer data completely opaque.
Many restaurants already employ small, dedicated in-house delivery teams (typically 3 to 8 couriers), but lack the sophisticated routing algorithms, live vehicle telemetry, and oven-to-courier synchronization needed to compete with venture-backed platforms. Without intelligent routing, food sits under heat lamps getting soggy while couriers travel inefficient, crisscrossing delivery paths.
Montrealogic was contracted to architect and build the FeastFlow Sovereign Dispatch Core: a self-hosted, lightweight software appliance that runs directly on in-restaurant hardware or private cloud instances. FeastFlow gives independent operators enterprise-grade routing, direct customer communication, and offline-first dispatch autonomy with zero external commissions.
System Specifications at a Glance
Rust & Tokio
Asynchronous multi-threaded event loop with zero runtime garbage collection pauses.
VRPTW Heuristic Solver
Constrained fleet batch optimization tuned for 3–8 courier in-house restaurant networks.
Docker Edge Appliance
Runs directly on local counter hardware with automatic offline LAN mesh failover.
Zero Commission Drain
Reclaims 25%–35% gross delivery margin previously lost to third-party marketplaces.
What It Does
- Solves the Vehicle Routing Problem with Time Windows (VRPTW) specifically tuned for constrained in-house fleets (3 to 8 couriers), automatically grouping geographically adjacent deliveries into efficient batch loops.
- Dynamically synchronizes kitchen line prep and oven firing with returning courier GPS vectors, ensuring orders are boxed seconds before the courier returns to the counter.
- Provides an offline-first LAN architecture that guarantees dispatching, ticket printing, and local driver assignment continue seamlessly even if upstream internet connectivity is lost.
- Supplies branded, progressive web app (PWA) tracking links directly to customers via SMS, allowing live courier tracking without forcing app store downloads or third-party marketplace accounts.
- Interfaces directly with existing restaurant Point of Sale (POS) and Kitchen Display Systems (KDS) via open webhooks and local network sockets.
- Eliminates ongoing per-order commission fees, restoring 25% to 35% of gross delivery margins directly to the restaurant balance sheet.
Key Features
Small-Fleet Route Clustering
Heuristic algorithms group outbound deliveries by geographic proximity and thermal urgency, allowing a single in-house driver to handle multi-drop routes without cooling food.
Oven-to-Driver Prep Synchronizer
Kitchen tickets hold in a staging queue and fire automatically based on predicted courier return times, minimizing resting time under heat lamps.
Edge Appliance & LAN Resilience
Packaged as a lightweight Docker appliance running locally on in-restaurant hardware; operations never stall if external internet broadband drops.
Direct Driver PWA & Telemetry
Cross-platform mobile application for in-house couriers with turn-by-turn navigation, proof-of-delivery photo capture, and encrypted vector telemetry.
Engineering Impact
By deploying FeastFlow, operators reclaimed 100% of the 25% to 35% margin normally captured by third-party delivery aggregators. The combination of constrained-fleet batching and predictive oven scheduling eliminated food sitting idle under heat lamps, while local Docker edge execution guaranteed zero operational downtime during external internet outages.