Cloud Application and Load Balancing Flashcards
Describe the client-server paradigm: Robust.
Robust:
- -errors do not propagate
- -the clients and the servers are independent modules and may fail separately
Describe the client-server paradigm: Efficient.
Efficient:
- -Front end server dispatches jobs to multiple back-end server
- -Exploit elasticity of cloud computing
Describe the client-server paradigm: Support for thin clients.
Support for thin clients:
–Heavy computation can be offloaded to servers, allowing clients to be as lightweight as possible.
What are the three tier architecture that the backend uses (when dealing with how to architect a cloud application)?
Load balancing tier: Spreading out incoming requests on to application servers
Application tier: Processing and responding to incoming requests
Data tier: Caching and handling database requests
What is load balancing?
Load balancing is simply the capability to balance trafic load across a group of devices. Maximises server/network throughput, minimises response time and avoids overload
What is a load balancer?
Conceptually, server load balancers (SLBs) are the bridge between the servers and the network. They understand many higher-layer protocols and network protocols. check notes for diagram
State and explain two load distribution methods.
Stateless load balancing: The load balancer uses some algorithms to distribute all the incoming traffic to available dervers but does not keep track of any individual session.
Stateful load balancing: The load balancer keeps track of state information for every session and makes load-balancing decisions for each session.
What is vertical scaling?
Scale by adding more computation resources (e.g. more power CPU, RAM)
What is horizontal scaling?
Scale by adding more machines (similar configuration)