Balanceador de carga

Distribui o tráfego de rede entre vários servidores.

Conteúdo pendente de tradução. Exibindo a versão em inglês.

Load balancing improves the responsiveness and availability of applications by preventing any single server from becoming a bottleneck. It provides a 'single point of entry' for clients and can perform health checks to ensure traffic is only sent to online servers.

        graph LR
  Center["Balanceador de carga"]:::main
  Rel_gateway["gateway"]:::related -.-> Center
  click Rel_gateway "/terms/gateway"
  Rel_cdn["cdn"]:::related -.-> Center
  click Rel_cdn "/terms/cdn"
  Rel_grid_computing["grid-computing"]:::related -.-> Center
  click Rel_grid_computing "/terms/grid-computing"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Teste de conhecimento

1 / 1

🧒 Explique como se eu tivesse 5 anos

Imagine a very busy restaurant with 10 waiters. A load balancer is like the host at the front door who tells each customer which table to sit at, making sure no single waiter has too many people to serve while others are idle.

🤓 Expert Deep Dive

Layer 4 load balancers work at the transport layer (TCP/UDP) based on IP and port. Layer 7 load balancers work at the application layer, allowing for 'sticky sessions' and routing based on URL paths or headers. Algorithms include Round Robin, Least Connections, and IP Hash.

📚 Fontes