Order Queue - Producer, Consumer & Dashboard
A producer, a queue-backed consumer, and a live dashboard: accept orders in milliseconds and persist them to Postgres out of band.By blueprint uploader · 14 September 2026
Order Queue - Producer, Consumer & Dashboard
A order processing system that accepts orders quickly, processes them asynchronously, and provides a live delivery dashboard.
Architecture
- Order Service : Receives and validates incoming orders.
- Message Queue : Buffers orders for reliable asynchronous processing.
- Order Collector : Consumes queued orders and persists them to PostgreSQL.
- Delivery Dashboard : Displays order and delivery status in real time.
- Gateway : Routes dashboard and API traffic through a shared public endpoint.
Request Flow
- A client submits an order through the API.
- The order is placed on the queue immediately.
- The consumer processes the order in the background.
- Processed orders are stored in PostgreSQL.
- The dashboard presents the latest delivery status.
Code Example
You can use the accompanying code example from the https://github.com/shoal-platform/message-queue-demo as a starting point for deploying and customizing this architecture.