Event-driven autoscaling for Serverless Java
summary
Shows how to replace CPU-based HPA with event-driven autoscaling by combining KEDA and Knative for Quarkus Java apps consuming Apache Kafka. Builds a demo pipeline that generates 5 million Kafka messages, deploys a Quarkus consumer, and proves KEDA triggers zero→one quickly while delegating 1→N scaling to HPA so pods reach up to the configured max (demo hit 10). Works faster than HPA alone (scale-up in ~6–10s), but notes cold starts, partition rebalance and single‑pod work imbalance when scaled from zero.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker intro
- 1:32Kubernetes autoscaling fundamentals
- 5:08Introducing KEDA for event-driven scaling
- 9:26KEDA vs KNative for serverless
- 11:35Demo 1: HPA autoscaling with Quarkus
- 25:30Demo 2: KEDA autoscaling with Kafka
- 30:53KNative serverless Java applications
- 44:20Demo 3: KEDA-KNative integration
- 50:00Key takeaways and future roadmap
- 51:47Q&A session
related talks
49mEvent-driven autoscaling for Serverless Java
52mEvent-Driven Autoscaling for Serverless Java
55mEvent-Driven Autoscaling for Serverless Java
58mEvent driven Autoscaling for Serverless Java
35mKEDA - Real Time And Serverless Scaling In Kubernetes
37mKubernetes Event-driven Autoscaling with KEDA
34mAutoscaling Made Easy with Kubernetes Event-Driven Autoscaling (KEDA)
31mServerless Java in Action: Cloud Agnostic Design Patterns and Tips
