Published

The document API accepts new files and the uptime check stays green. Review staff still report that OCR results are arriving 45 minutes late. They need to know whether a busy queue is draining, a worker is failing, or accepted files are missing from the next stage altogether.
Measure time to the user-visible completion state and use queue metrics to locate the delay. Keep a separate alarm for dead-letter queues and verify the affected document IDs before closing the incident.
A large queue with stable age can be a short burst. Rising age and depth together suggest work is accumulating faster than it can finish. Compare the trend with worker errors, throttles, and completion counts. Judge it against your operational target for that document class, especially if large packets complete more slowly than ordinary uploads.
The SQS metrics documentation explains that standard queues can move repeatedly received messages to the back and the age metric may exclude repeatedly failing messages. A DLQ’s age reflects time since the move. Pair both queues’ metrics with an acceptance-to-completion measurement or a synthetic document that you can track all the way through.
| Signal | Question |
|---|---|
| Source queue age and depth | Is unprocessed work accumulating? |
| Worker errors and throttles | Can the processing stage keep up with arrivals? |
| DLQ visible messages | Has processing exhausted retries for any items? |
| Completion age or canary | Can a reviewer see the expected result within the target time? |
An illustrative intake pipeline has a 15-minute review target. After a large batch, source queue depth rises for six minutes but falls as new completions appear. One supplier file still misses its deadline and appears in the DLQ. The operator links it to its document ID and opens an assigned exception.
After diagnosing and fixing the processing problem, the operator uses the documented reprocessing process and confirms that the expected OCR result is available for that ID. A quiet alarm alone would have missed the document’s incomplete business outcome.
Measure the stage the user is waiting for. Queue metrics explain the delay, while a completion check proves the result is available.
The open-source foundation — API-first, deployable into your own AWS account, and free to use. Right for architecture validation and early implementation.
Production-ready editions for departments and complex workflows. Start with a Proof-of-Value deployment or go straight to production.
For governance-heavy environments with residency, sovereignty, assurance, and multi-jurisdiction requirements. Talk to us about the right deployment model.