Purpose
To distribute requests and traffic evenly across multiple servers
Where can load balancers reside?
- Between client and server
- Between server and internal platform
- Between internal platform and Database
Key terms
- Load Balancing Algorithms: method used by the load balancer to determine how to distribute incoming traffic among backend servers
- Health Checks: periodic tests performed by the load balance to check the availability and performance of a given server.
- Session Persistence: technique used to ensure that subsequent requests from the client are directed back to the same server
- SSL/TLS termination: Process of decrypting SSL/TLS - encrypted traffic at the load balancer level, offloading the decryption burden from backend servers and allowing for centralized SSL/TLS management
Load Balancer Steps:
- LB receives request from the User
- LB evaluates request using load balancing algorithm to determine which server to forward to
- LB forwards traffic over to designated server
- Server responds to request and responds back to LB
- LB recieves server’s response and forwards it back to User