Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 1.2 KB

File metadata and controls

21 lines (19 loc) · 1.2 KB
slug 2018-07-23-load-balancer-types
id 2018-07-23-load-balancer-types
title Load Balancer Types
date 2018-07-23 11:54
comments true
tags
system design
description Usually, load balancers have three categories: DNS Round Robin, Network Load balancer and Application Load balancer. DNS Round Robin is rarely used as it is hard to control and not responsive. The network Load balancer has better granularity and is simple and responsive.
references

Generally speaking, load balancers fall into three categories:

  • DNS Round Robin (rarely used): clients get a randomly-ordered list of IP addresses.
    • pros: easy to implement and free
    • cons: hard to control and not responsive, since DNS cache needs time to expire
  • Network (L3/L4) Load Balancer: traffic is routed by IP address and ports.L3 is network layer (IP). L4 is session layer (TCP).
    • pros: better granularity, simple, responsive
  • Application (L7) Load Balancer: traffic is routed by what is inside the HTTP protocol. L7 is application layer (HTTP).