Tuesday, July 22, 2014

LoadBalancer or RoundRobin DNS

The advantage of using LoadBalancer over RoundRobin DNS are

  • LoadBalancer takes care of load on nodes behind it by directing traffic/requests to node with least load
  • LoadBalancer takes care of sessions/connections. For applications like shopping cart, which makes use of the sessions, in case if the node from which we are served goes down, the session is lost too. 
  • If one of the nodes behind the LoadBalancer goes down, then the LoadBalancer will immediately detect it and will not send any requests to that node which is down. This is not possible in RoundRobin DNS.

No comments:

Post a Comment