Skip to content

Instantly share code, notes, and snippets.

@mrajashree
Last active September 24, 2018 22:55
Show Gist options
  • Save mrajashree/0a8954d6414be13c2d85308c29c512e3 to your computer and use it in GitHub Desktop.
Save mrajashree/0a8954d6414be13c2d85308c29c512e3 to your computer and use it in GitHub Desktop.

Load balancer

  • Layer 3 Load balancing takes routing decisions based on IP addresses alone
  • Layer 4 is TCP, does routing decisions only based on network packets' address, not on contents. IP address plus TCP ports etc
  • Layer 7 HTTP, can do routing based on contents of the packets, URL/cookie. Example, if user's requests contain requests frequently for certina media, Layer 7 lbs can direct the user requests to those servers that can bettwe serve these reqyests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment