Auto Scaling Pattern
Learn Auto Scaling Pattern (Cloud-Native Patterns, Cloud-Native Patterns) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Auto Scaling Pattern Auto Scaling automatically adds or removes running instances of a service based on real-time load, instead of provisioning for peak capacity 24/7 (wasteful) or fixed capacity (risks overload during spikes). Kubernetes HorizontalPodAutoscaler (HPA) The HPA watches a metric (commonly CPU or memory utilization, or a custom metric like queue depth) and adjusts the number of pod replicas to keep it near a target.