Load balancing ਆਉਣ ਵਾਲੀਆਂ ਬੇਨਤੀਆਂ ਨੂੰ ਕਈ ਸਰਵਰਾਂ ਵਿੱਚ ਵੰਡਦਾ ਹੈ — ਖਿਤਿਜੀ ਸਕੇਲਿੰਗ ਨੂੰ ਸਮਰੱਥ ਬਣਾਉਂਦਾ ਹੈ, ਉਪਲਬਧਤਾ ਵਿੱਚ ਸੁਧਾਰ ਕਰਦਾ ਹੈ, ਅਤੇ ਕਿਸੇ ਵੀ ਇੱਕ ਸਰਵਰ ਨੂੰ ਅਤਿਅੰਤ ਭਾਰ ਤੋਂ ਬਚਾਉਂਦਾ ਹੈ। ਇਹ ਸਕੇਲੇਬਲ, ਭਰੋਸੇਮੰਦ ਸਿਸਟਮਾਂ ਦਾ ਇੱਕ ਬੁਨਿਆਦੀ ਘਟਕ ਹੈ।
load balancer ਕੀ ਕਰਦਾ ਹੈ
A LOAD BALANCER sits in front of multiple servers and distributes requests among them:
Client → LOAD BALANCER → ┬→ Server 1
├→ Server 2
└→ Server 3
→ spreads load → no single server is overwhelmed (enables HORIZONTAL scaling)
→ routes around FAILED servers (health checks) → high AVAILABILITY
→ a single entry point for clients
ਲੋਡ ਬੈਲੰਸਿੰਗ ਕਿਉਂ ਮਹੱਤਵਪੂਰਨ ਹੈ
✓ SCALABILITY → distributes load across many servers → handle more traffic by adding servers
✓ AVAILABILITY → if a server fails, route to healthy ones → no single point of failure
✓ PERFORMANCE → prevents any server from being overloaded → consistent response times
✓ Enables ZERO-DOWNTIME deploys, maintenance (take servers out of rotation)
→ a foundation of scalable, highly-available systems.
