L5 - Autoscaling 2/2 Flashcards
What are cooldown periods for policies?
- only after this time, breaches are handled again
What does predictive autoscaling have to do with an autoscaling group?
It determines proactively the minimum of the autoscaling group and thus increases resources.
What is a load balancer (LB)?
load balancer = single point of request and it then it is distributed across service instances
When is LB important?
In the case of multiple service instances.
Why do you need a LB to scale out?
Scaling out only works if all replicas are equally busy. LB is required to distribute requests.
goals of LB?
- efficient utilization of a set of resources
- exploit aggregated capacity of replicas to reduce response time and failure rate
- increase availability (LB performs health checks, restarts faulty replicas/instances)
- enables non-disruptive management (in case of provisioning and de-provisioning of resources)
Are there multi-layer LB?
Yes
How is LB implemented?
- instances are allocated to certain VMs by the load balancer
- the VMs are load balanced to servers
- the LBs on different levels should interact with each other and exchange information
What is the difference between static and dynamic LB?
- in static LB there is no feedback (e.g. weighted round robin)
- in dynamic LB there is feedback on the status of the servers
Dynamic LB Diagram
What are the two sub-categories of dynamic LB?
Distributed and non-distributed
What are the two sub-categories of distributed LB?
Cooperative and non-cooperative
What are the two sub-categories of non-distributed LB?
Central and semi-distributed
What is distributed LB?
Nodes collaborate
What is cooperative LB?
- nodes have the same goal (e.g. optimize memory)
What is non-cooperative LB?
- nodes have different goals