Use Envoy + Knative to auto scale Java RPC micro service
summary
Shows a concrete pipeline: an Envoy extension for Dubbo/RSocket that emits frame-type counters, Prometheus scrapes those stats and uses irate -> custom metrics API to feed Kubernetes HPA. Demo sends 3,000 concurrent requests with hey, HPA detects a surge and scales pods from 1 to multiple replicas (observed 2 in demo, 4 in home tests). Knative path is rejected because Knative only supports HTTP; adapter metric values are noisy and require tuning.
AI-written summary · about
chapters (8)
- 0:00Introduction to RPC and envoy
- 1:09Apache dubbo and reactive
- 3:22RSocket communication models
- 4:31Challenges in auto scaling
- 7:14Monitoring with envoy
- 9:44System architecture and HPA
- 14:14Architecture demo and testing
- 22:16Conclusion and Q&A
related talks
52mEvent-Driven Autoscaling for Serverless Java
55mEvent-Driven Autoscaling for Serverless Java
34mScale your microservices by MicroProfile Metrics on Kubernetes
35mKEDA - Real Time And Serverless Scaling In Kubernetes
56mEvent-driven autoscaling for Serverless Java
40mScaling microservices with Message queues, .NET and Kubernetes
36mUsing Ambassador to Build Cloud-Native Applications
37mKEDA: Unlocking Advanced Event-Driven Scaling for Kubernetes
