Skip to content
AgenticAIWiki

Sync, streaming and async jobs

Full screen
requestcallansweranswerClientapp or serviceYour APIModel API

Swipe to change step

Step 1 of 8. Requests arrive at your API. How you answer depends on how long the work takes and who is waiting. Client (app or service). Your API. Model API. arrow from Client to Your API, labelled request. arrow from Your API to Model API, labelled call. arrow from Model API to Your API, labelled answer. arrow from Your API to Client, labelled answer. a request moving along request.

In this chapter

  1. 68.1Sync, streaming and async jobs4 min read
  2. 68.2Queues, workers and back-pressure4 min read
  3. 68.3Idempotency and retries at scale4 min read
  4. 68.4Batch processing for offline work4 min read
  5. 68.5Worked example: batch APIs and streaming in production4 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…