Use events from AWS SQS to trigger autoscaling with Kedify and KEDA
Amazon Web Services Simple Queue Service is a fully managed message queuing service that allows you to decouple and scale microservices, distributed systems, and serverless applications.
Book demo
It enables asynchronous communication and is designed to be highly scalable and simple to use in a broad range of scenarios. The integration with KEDA enhances this capability by enabling fine-grained, event-driven autoscaling that responds dynamically to the fluctuating demands on message processing, ensuring optimal resource utilization and performance without manual intervention.
Featured Use Cases
Scenario:
E-commerce platforms need to dynamically scale services that process customer orders during high traffic times like sales or promotions.
AWS SQS Scaler Usage:
KEDA Usage:
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: order-processing-scaledobject
namespace: default
spec:
scaleTargetRef:
name: order-processor
minReplicaCount: 1
maxReplicaCount: 100
triggers:
- type: aws-sqs-queue
metadata:
queueURL: https://sqs.eu-west-1.amazonaws.com/account_id/order-queue
queueLength: "10"
awsRegion: "eu-west-1"