Use events from RabbitMQ to trigger autoscaling with Kedify and KEDA
RabbitMQ is an open-source message broker that allows applications to communicate by sending messages through queues
Book demoRabbitMQ's support for multiple messaging protocols, coupled with its flexible message queuing and routing capabilities, makes it highly adaptable for various use cases. With KEDA, RabbitMQ setups can automatically scale application components to match workload demands, providing efficient resource utilization and responsiveness in environments from e-commerce to IoT and media processing. This integration enhances the ability to handle high loads and large numbers of concurrent connections, ensuring that applications remain scalable and resilient under varied operational conditions.
Featured Use Cases
Scenario:
An online retail platform experiences variable order volumes throughout the day, with spikes during promotional events and holiday sales.
RabbitMQ Scaler Usage:
KEDA Usage:
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: order-processing-scaledobject
namespace: default
spec:
scaleTargetRef:
name: order-processing-deployment
pollingInterval: 10
minReplicaCount: 1
maxReplicaCount: 100
triggers:
- type: rabbitmq
metadata:
queueName: order-queue
host: rabbit.cluster
mode: QueueLength
queueLength: '5'