1.6 Load Balancing Flashcards
What is a load balancer?
A server that balances incoming traffic to your application and distributes that traffic across multiple servers
Improves reliability and scalability of your application and allows replication.
What does fault tolerance mean in the context of load balancers?
Enhancement of service availability by redirecting traffic away from failed or malfunctioning servers.
What is health monitoring in load balancers?
Continuous monitoring of backend server health and performance, removing unresponsive servers from the pool.
What is SSL termination?
Offloading SSL/TLS encryption and decryption from backend servers to improve performance.
What is session persistence in load balancers?
Ensuring that subsequent requests from the same client are directed to the same backend server.
What is geographic load balancing?
Distribution of traffic based on the geographical location of the client to optimize performance.
What is content-based routing in load balancers?
Routing traffic based on content-specific criteria like URL paths, HTTP headers, or query parameters.
What is Round Robin load balancing?
The simplest form of load balancing where each request is directed to the next server in a sequential list.
What is the Least Connections load balancing method?
Routing traffic to the server with the fewest active connections.
What does Least Response Time load balancing measure?
It measures the response time of each server and directs traffic to the server with the fastest response time.
What is Source IP Hash in load balancing?
Requests from the same client IP address are consistently routed to the same backend server.
What is Weighted Least Connection load balancing?
Similar to least connections, but servers are assigned a weight based on their capacity or performance.
What are Application-Based Load Balancers?
Load balancers that operate at Layer 7 of the OSI model, allowing for advanced routing decisions.
What are Network Load Balancers?
Load balancers operating at Layer 4 of the OSI model, routing traffic based on IP addresses and TCP/UDP port numbers.
What is vertical scaling?
Increasing the capacity of a single server by adding more resources such as CPU, memory, or storage.
What is horizontal scaling?
Adding more servers to distribute the load across multiple machines.
Fill in the blank: Vertical scaling is also known as _______.
[scaling up]
Fill in the blank: Horizontal scaling is also known as _______.
[scaling out]
What is a key disadvantage of vertical scaling?
Limited scalability due to the maximum capacity of a single server.
What is a key advantage of horizontal scaling?
High scalability by adding more servers as needed.
What does Layer 7 load balancing operate on?
The Application Layer of the OSI model.
What does Layer 4 load balancing use to direct traffic?
Data from network and transport layer protocols such as IP, TCP, or UDP.
What is the role of a load balancer compared to a reverse proxy?
A load balancer distributes incoming network traffic across multiple servers.
What is a reverse proxy?
A proxy server that retrieves resources on behalf of a client from one or more servers.