An intermediate process accepts a request, immediately confirms that it was queued, processes it later, and sends a subsequent status notification. It preserves more responsiveness than synchronous calls while providing more certainty than casts. section 11.3.4
Use the pattern when:
- End-to-end operations are slow or system load is high. section 11.3.4
- The queue can act as a congestion boundary by refusing additional requests when it becomes overloaded. section 11.3.4
- Plain calls are insufficient for responsiveness, but casts provide too little certainty. section 11.3.4
To-do entry request
A client submits a to-do entry and receives confirmation that the request entered the queue. The intermediate process attempts storage through database workers, then reports success or failure. For more complex pipelines, GenStage can coordinate producers and consumers. section 11.3.4
Trace the separation between immediate queue confirmation and later request-status notification. section 11.3.4
