














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















Core challenges in distributed systems design
Concurrenc y
Latency & asynchronous networks
Latency
Handling failure Failure is a fact of life in distributed systems! In local systems, failure is usually total ( all-or-nothing ) In distributed systems, we get partial failure
Increasing availability through redundancy
Service can run even if some systems die Reminder:
If P (any one system down) = 5% P (two systems down at the same time) = 5% × 5% = 0.25%
We get 99.7% uptime instead of 95% because we need both replicated components to fail instead of just one.
High availability 14
If we need all systems running to provide a service P (any system down) = 1 - P ( A is up AND B is up ) = 1 - (1-5%) × (1-5%) = 1 - 0.95 × 0.95 = 9.75% ⇒ 39x greater than a single component failure with redundancy!
With a large # of systems, P (any system down) approaches 100%! Requiring a lot of components to be up & running is a losing proposition. With large enough systems, something is always breaking!
System Failure Types
Network Failure Types
Redundancy requires synchronized state The state of redundant components has to be kept synchronized with the latest version
State, replicas, and caches