Single point of failure
A piece that, if it goes down, takes the whole system down, because nothing else can replace it.
Analogy
Like a bridge that is the only way to an island: if it's cut, nobody gets there.
Test yourself: Single point of failure
Kinds of load balancers
With 10 servers behind 1 single load balancer, the system no longer has a single point of failure.
The 10 servers cover for each other, but the load balancer has no spare. If it fails, all 10 become unreachable: 100% of users without service.
Proxies
You add 1 reverse proxy in front of 3 servers. What new risk appears?
All traffic goes through that proxy: if it fails, the 3 servers become unreachable. The fix is 2 proxies with fail-over.
Service bus (ESB)
Since everything goes through the ESB, it's a single point of ___.
If 1 app goes down, the others remain; if the ESB goes down, all 50 apps are cut off at once.
0/3
â–¶ PlayLessons that use it
Kinds of load balancers
Not all load balancers are alike
Proxies
A middleman in between
Scaling
Bigger or more machines
Service bus (ESB)
One hub to integrate everything
API Gateway
1 single front door
The design steps
From data to bottlenecks
Designing a URL shortener
A long link in 7 characters
Generating unique keys
Where 3I71d3o comes from
