Buyer guide · Practical decisions

What happens when your AI workflow cannot keep up?

An AI workflow can be healthy and still fall behind. New requests arrive, model calls take time, and a connected system limits how quickly it accepts updates. A queue keeps work waiting, but the business still needs to decide how long it can wait and what happens when that limit is reached.

Published Sources checked

Read the guide ↓
01 /

A queue buys time, not unlimited capacity

Microsoft’s queue-based load levelling pattern separates incoming requests from the service processing them. That can absorb a short burst. Its guidance also warns that a queue keeps growing when the average arrival rate exceeds the processing rate. Adding workers without controlling their total downstream request rate can simply move the overload to another system.

For an AI workflow, measure the complete job: fetching source material, model processing, validation and writing the result. A fast model does not help if the CRM or human approval stage is the bottleneck. Count useful completed jobs, not just successful model responses.

Decide what the customer has been promised. “Received” means the request is stored; “completed” means the required outcome has been checked. Keep those states separate in the interface and in any acknowledgement.

02 /

Illustrative example: a Monday morning document backlog

Consider a fictional UK property services company. Its assistant reads incoming inspection reports and prepares internal job summaries. After a weekend upload, 120 reports are waiting. The workflow completes six reports per minute while three new reports per minute continue to arrive.

Under those simplified, steady assumptions, the backlog shrinks by three reports per minute and takes about 40 minutes to clear: 120 ÷ (6 − 3). If arrivals instead remain at eight per minute, the backlog grows by two per minute. These are invented planning figures, not provider benchmarks or a Fewzen client result.

The estimate assumes comparable jobs and no retries or pauses. Real reports vary in length, so the team also watches actual waiting times. A same-day inspection update should not silently wait behind an optional historical summary simply because both use the same AI service.

03 /

Measure age, throughput and the work still unfinished

Show the oldest waiting job, the number approaching their deadline, recent arrival and completion rates, and jobs already in progress. Split these by work type where a short email and a long document require very different effort. A single queue count can hide a small number of badly delayed cases.

AWS’s SQS scaling guidance relates acceptable backlog per worker to acceptable latency and average processing time. This is a useful planning relationship, not a reason to copy an example configuration. Measure your own processing time and the safe capacity of the connected systems.

Use a representative busy period to estimate spare capacity. Include retries and review work in the operating picture. When the completion rate barely exceeds arrivals, even a temporary burst can take a long time to clear. Set an alert early enough that the owner can act before a deadline is missed.

04 /

Agree which work can wait

Define a small number of business priorities with the people who own the outcomes. For the fictional company, a report needed for today’s visit could take precedence over retrospective reporting. Priority should come from trusted workflow rules or an authorised operator, not an instruction hidden inside an uploaded document.

Reserve some processing capacity for routine work so that a constant stream of urgent items does not leave everything else waiting forever. Record the reason for a priority change. Let the team see when lower-priority work is being deferred.

Set an intake boundary too. When the predicted wait exceeds what the service can support, pause optional imports, offer a later processing window or route agreed cases to staff. Do not keep accepting work with an immediate-completion message that the system cannot honour.

05 /

Slow down when a dependency tells you to

Microsoft Graph documents HTTP 429 responses for throttling and instructs clients to respect the Retry-After delay. Where that header is absent, it recommends exponential backoff. Immediate repeated requests can prolong the problem because usage continues to be recorded during throttling.

Apply the relevant provider’s guidance to each connection rather than treating every failure as a reason to launch more workers. Keep retry scheduling in the workflow infrastructure. Asking the model to try repeatedly is not a reliable rate-control mechanism.

Give retries a time and attempt budget. Once a job cannot finish within its business deadline, move it to an explicit exception state with an owner. A delayed request should not consume the same resources indefinitely while fresh work piles up.

06 /

Recheck whether delayed work is still wanted

A queued instruction may be obsolete by the time it runs. The customer might have cancelled, a colleague might have completed the task, or the underlying record might have changed. Store the job’s purpose, source identifier and deadline, then check current state before any consequential write.

Make cancellation visible to workers, not just to the dashboard. An expired summary can usually be marked as expired; a missed customer commitment may need a staff member to contact the customer. Decide these routes in advance rather than letting the model invent a recovery policy.

Plan for repeated delivery as well. AWS explicitly warns that standard SQS messages can be received again and recommends idempotent processing. Use a stable operation identifier and completion record so a repeated job does not create another downstream action.

07 /

Test a busy hour before expanding the workflow

Replay a controlled mix of short, long and failing jobs in a sandbox. Introduce a burst, slow a dependency, cancel a waiting job and repeat a completed one. Check both the system records and what an operator sees. Include recovery after the backlog has built up, not only the first few minutes.

Agree a small operational checklist: who receives the alert, which optional work they can pause, when manual handling begins and how queued jobs are reconciled afterwards. Avoid two people independently completing the same case during the handover.

Queues add storage, monitoring and support work. A small, predictable process may need only a simple job list; an interactive conversation may need a prompt fallback rather than a long wait. Start by measuring one workflow’s busiest period and writing down its acceptable waiting time. Scale only within the limits of the whole process.

Practical answers

Before you take the next step.

Will a larger AI budget remove the backlog?

Only if AI processing capacity is the limiting stage and the provider can supply the needed throughput. Check connected API limits, validation and human review capacity before increasing spend.

Work directly with Matthew

Bring the two systems and the missing hand-off.

A useful brief names the trigger, the destination, the record owner and what should happen when something fails.

Explore integration support ↗Discuss your project with me ↗Prefer to write? Send a message. No sensitive records needed for an initial enquiry.