5,337
edits
Line 52: | Line 52: | ||
====Load Balancers==== | ====Load Balancers==== | ||
* Purpose: Handle many connections and route them to request nodes | |||
* Algorithms: Random, round robin, custom criteria | |||
* Software: [https://www.haproxy.org/ HAProxy] | |||
* Usually placed at the front of a distributed system | |||
** Load balancers can send requests to other load balancers | |||
* Challenges: Managing user session data | |||
** Solutions: Caches, cookies, user data, URL rewriting | |||
* Cons: Makes problem diagnosis difficult | |||
====Queues==== | ====Queues==== | ||
==System Design== | ==System Design== |