Conventional web approach — delivery/dispatch comparison

queue · registry · timeout job · event bus (orange) attach as separate components

Conventional web approach — delivery/dispatch comparison queue · registry · timeout job · event bus (orange) attach as separate components Clients · Customer·Courier · Architecture component Clients Customer·Courier Load Balancer · Architecture component Load Balancer Delivery API · Architecture component Delivery API Delivery DB · Stateless Web Backend Delivery DB Dispatch Queue · Stateless Web Backend Dispatch Queue Event Bus · Stateless Web Backend Event Bus Timeout Job · Stateless Web Backend Timeout Job Dispatch Worker · Stateless Web Backend Dispatch Worker Session Registry · Stateless Web Backend Session Registry Stateless Web Backend

Coordination overhead attached (orange)

  • • The queue, registry, timeout job, and event bus are separate components. DeliveryDispatch does not remove this responsibility; it shifts the boundary so the DispatchWorker owns offer state and deadlines while the Framework handles Actor routing and session binding.
  • • Color basis: Session Registry follows the sibling comparison diagram (01-delivery-existing), which places session-affinity overhead like a sticky LB as messagebus (orange) and the L7 LB/gateway as external (gray). Dispatch Worker is retained business logic (→ DispatchWorker), so it is frontend (blue).

Correspondence

  • • session registry → Courier/Customer Actor and bound session. dispatch queue/worker → DispatchWorker. event bus → status/evidence on Tracking. websocket push gateway → CustomerGateway/CourierSession. timeout job → worker sweeper.