A document-processing service has two queues in the ordinary sense of the word. People wait for an upload page to respond, and documents wait for a worker to extract their text. Azure Container Apps can scale both parts of the system. They need different signals. A quiet website can have a thousand documents waiting behind it.
For a team already using Azure, the appeal is running HTTP containers, event-driven consumers, and finite jobs without operating a Kubernetes cluster. The first architecture decision is which of those three things each process actually is.
Keep the upload API and the consumer separate
The upload API can scale with concurrent HTTP requests. A separate container app that consumes messages can scale with queue depth through a KEDA-backed event rule. A finite conversion that starts, handles a unit of work, and exits may fit a Container Apps job. Jobs can start on demand, on a schedule, or in response to events. Choose based on what the program does after finishing a document. A consumer that immediately asks for another message behaves differently from a converter that exits. Scale rules · Apps and jobs compared
A queue also gives you a rough capacity calculation. Suppose 120 documents are waiting, each takes six seconds to process, and each replica handles one at a time. Four busy replicas need about three minutes to clear that backlog if no more documents arrive. With one replica it takes twelve minutes. Startup, polling, retries, and competition for storage add time. If the service promise is delivery in two minutes, a four-replica maximum is already too low under those assumptions.
An HTTP canary and a queue rollout need different plans
In multiple-revision mode, you can keep two revisions of the API active and direct a percentage of incoming HTTP traffic to each. That works well for testing a change to the upload response. Give the candidate a small share, then check successful uploads and how long it takes for users to receive a document ID. Container app revisions · Traffic splitting
Suppose both worker versions subscribe to the same queue. An HTTP traffic percentage doesn’t decide which worker reads the next message. Microsoft directs teams to use single-revision mode for non-HTTP event scale rules. For a worker trial, a separate test queue with representative documents gives you control over which version handles them. Compare the extracted text, page counts, and retry behavior before switching live consumers. Non-HTTP scaling guidance
What zero replicas means for the next document
The documented defaults for a custom event scaler include a 30-second polling interval and a 300-second cooldown for the final transition to zero. Neither setting includes the time to start the container or process the document. A new document arriving just after a poll may wait for the next observation and a container start. If the first document after lunch has a tight deadline, test that exact case with the queue empty beforehand. Polling and cooldown defaults
On the Consumption plan, a revision at zero replicas incurs no replica resource charges. A warm minimum can qualify for reduced idle rates under specific conditions. Jobs consume resources at the active rate during execution. Price the API and worker separately, then include the queue, document storage, and logging in the estimate. Azure Container Apps billing
I would shortlist Container Apps for this workload when the team can name who owns the queue rule and the document deadline. During the trial, record when the customer receives a document ID and when the finished text is available. The second clock will tell you whether the worker deployment deserves the same confidence as the web deployment.