A retail company is designing a container-based solution to process inventory updates from an Azure Service Bus queue. The application consists of a single containerized worker that must scale dynamically based on the number of messages in the queue, including scaling to zero when the queue is empty. Each message takes up to 12 minutes to process due to dependencies on legacy external systems. The company requires a solution that minimizes administrative overhead and infrastructure management. Which hosting option should you recommend for the containerized worker?
- AAzure Kubernetes Service (AKS)
- BAzure Functions on a Consumption plan
- Azure Container AppsCevap
- DAzure Container Instances (ACI)
Cevap
Azure Container Apps
Azure Container Apps provides a serverless platform for hosting containerized applications and background workers with no complex infrastructure management, directly satisfying the requirement to minimize administrative overhead. It features native integration with KEDA, enabling it to scale replicas from zero up to many instances based on the Azure Service Bus queue depth. Additionally, standard container apps running in Azure Container Apps do not have the 10-minute timeout limitation that applies to Azure Functions on a Consumption plan, making it the correct service for tasks that take up to 12 minutes to process.
Adım Adım Çözüm
Anahtar Kavram
Selecting Azure container hosting platforms based on administrative effort, scaling triggers, and execution duration limits.