A university library is designing an automated document archiving system to merge and compress digitized historical manuscripts into PDF/A format.
The system must meet the following requirements:
* Each document merging task is triggered by a message in an Azure Service Bus queue.
* A single archiving task takes between and minutes to complete.
* The archiving engine is packaged as a custom Linux-based container image that requires specialized PDF rendering libraries.
* The system must incur zero compute costs when there are no archiving tasks in the queue.
* Infrastructure management and operational overhead must be minimized.
Which Azure compute solution should you recommend?
- Azure Container Apps jobsAnswer
- BAzure Functions on a Consumption plan
- CAzure Kubernetes Service (AKS) with Event-driven Autoscaling (KEDA)
- DAzure Virtual Machine Scale Sets using Spot Virtual Machines
Answer
Azure Container Apps jobs
Azure Container Apps jobs are optimized for run-to-completion tasks triggered by events such as queue messages. They support custom containers, can scale down to zero instances (resulting in zero compute cost when idle), support execution durations of up to hours, and require no cluster management, aligning perfectly with all constraints.
Step-by-Step Solution
Key Concept
Selecting serverless hosting options based on execution duration, custom container support, cost efficiency, and operational overhead.