Elastic Load Balancing (ELB) ਆਉਣ ਵਾਲੀ ਟਰੈਫਿਕ ਨੂੰ ਕਈ ਟਾਰਗੇਟਸ (EC2 instances, containers, ਆਦਿ) ਵਿੱਚ ਵਿਤਰਦੀ ਹੈ — availability (ਕੋਈ ਸਿੰਗਲ ਫੇਲਿਓਰ ਪੁਆਇੰਟ ਨਹੀਂ) ਅਤੇ scalability (ਲੋਡ ਨੂੰ ਫੈਲਾ ਕੇ) ਨੂੰ ਬਿਹਤਰ ਬਣਾਉਂਦੀ ਹੈ। ਇਹ ਭਰੋਸੇਮੰਦ, ਸਕੇਲੇਬਲ ਐਪਲੀਕੇਸ਼ਨਾਂ ਲਈ ਇੱਕ ਮੁੱਖ ਭਾਗ ਹੈ।
ਲੋਡ ਬੈਲੇਂਸਰ ਕੀ ਕਰਦਾ ਹੈ
A LOAD BALANCER sits in front of multiple backend targets and distributes requests:
Client → LOAD BALANCER → ┬→ Instance 1
├→ Instance 2
└→ Instance 3
→ spreads traffic across targets (scalability + no single instance overloaded)
→ HEALTH CHECKS: routes only to HEALTHY targets (an unhealthy one is bypassed)
→ if a target fails, traffic goes to the others → HIGH AVAILABILITY
→ single entry point (clients hit the LB, not individual instances)
