liveBook · Manning

Asynchronous request

An asynchronous request is an interaction in which a requester sends a request without waiting for its processing to complete or for an immediate response.

How 2 Manning books explain it

Designing AI Systems

An asynchronous request is an interaction in which the client submits work, receives an acknowledgment or job identifier, and retrieves progress or results later.

How it is used
Uses job tracking to expose long-running AI workflows over HTTP without keeping the original request open.
How deep it goes
Shows a workflow and job-status responses but does not specify job-tracking internals.
Examples
Illustrates research across scientific documents with a job ID, progress response, and completed report with sources.
What you can do after
Evaluate when to use job tracking instead of a synchronous request for a long-running AI workflow.

Read how Designing AI Systems explains asynchronous request →

Microservices Patterns, Second Edition

An interaction style in which a requester sends a request and later receives a response without blocking for an immediate result.

How it is used
Coordinates a client’s service request with a later reply when an immediate response is not expected.
How deep it goes
Explains command and reply channels, reply-channel headers, and correlation IDs, while stopping short of a full low-level implementation.
Examples
Uses the Create Order saga, where an Order Service orchestrator exchanges commands and replies with participants.
What you can do after
Apply the pattern by sending commands to service channels and routing replies back with correlation IDs.

Read how Microservices Patterns, Second Edition explains asynchronous request →

Also covered in

What to know first

Related concepts

Questions about asynchronous request

What is asynchronous request?

An asynchronous request is an interaction in which a requester sends a request without waiting for its processing to complete or for an immediate response.

Which Manning books explain asynchronous request?

Designing AI Systems and Microservices Patterns, Second Edition.

What should I know before learning asynchronous request?

Manning books that teach asynchronous request usually introduce synchronous call first.

What is the difference between asynchronous request and synchronous call?

An asynchronous request is an interaction in which a requester sends a request without waiting for its processing to complete or for an immediate response. A synchronous call is an invocation in which the caller waits for the operation to complete or return a result before continuing.

What kinds of asynchronous request are there?

Kinds of asynchronous request include cast.

What is asynchronous request a kind of?

Asynchronous request is a kind of one-to-one interaction style. An interaction in which each client request is processed by exactly one service.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.