15 Comments
User's avatar
Luv Singh's avatar

Thanks ashish loved reading it 🤙🏻

Ranjeet Nair's avatar

Well written article .Thanks for sharing

Venkat MS's avatar

Thank you for the good article. Load Balancer was portrayed as SPOF and having it was proposed as counter measure. What am I missing here ?

Ashish Pratap Singh's avatar

Sorry, if it wasn't super clear.

Load Balancer can help remove SPOF failures from application servers.

But to remove SPOF from Load balancer we usually have a standby which can takeover if the primary one fails.

Ankit Raj's avatar

How to avoid Load balancer / api gateway from SPOF?

Ashish Pratap Singh's avatar

usually by having a standby which can takeover if the primary one fails

Srinivasa Meenavalli's avatar

Resiliency and failover implementations in backend:

Application back end /services also can enable resiliency and failover ( Circuit breaker or retry) patterns. Some of the tasks or staging can be saved in persistence database and retriggered when the downstream is available or retriggered .

Astitva Srivastava's avatar

I guess managed load balancers by e.g. AWS ELB already have such features?

Ashish Pratap Singh's avatar

yeah.. managed services on cloud platforms handle it by default.

Astitva Srivastava's avatar

Do you want to have redundancy in load balancer as well if it is considered a SPOF?

Astitva Srivastava's avatar

Do you want to have redundancy in load balancer as well if it is considered a SPOF?