Skip to content

Latest commit

 

History

History
133 lines (88 loc) · 2.8 KB

fallaciesOfDistributedSystems.md

File metadata and controls

133 lines (88 loc) · 2.8 KB
marp theme class paginate style backgroundColor color
true
default
invert
true
img[alt~="center"] { display: block; margin: 0 auto; } a { color: red; }

Fallacies of Distributed Systems

Build a secure, high-performing, resilient, and efficient cloud infrastructure


The 8 fallacies should serve as a warning for architects and designers of distributed systems.

Believing these statements are true results in troubles and pains for the system and its creators further down the line.

We should expect and prepare for the exact opposite of these statements if we want to have a dependable distributed system.


The Network Is Reliable

Problem:

  • Calls over a network will fail

Solutions:

  • Fault tolerant infrastructure
  • Automatic retries
  • Idempotency and Determinism

bg right:45% 90%


Latency Is Zero

Problem:

  • Calls over a network are not instant

Solutions:

  • Bring back all the data you might need
  • Move the data closer to the clients

bg right:45% 90%


Bandwidth Is Infinite

Problem:

  • Bandwidth is limited

Solutions:

  • Network traffic control
  • Lightweight data formats

bg right:45% 90%


The Network Is Secure

Problem:

  • The network is insecure

Solutions:

  • Defense in Depth
  • Security mindset
  • Threat modelling

bg right:45% 90%


Topology Doesn't Change

Problem:

  • The topology does change constantly

Solutions:

  • Abstract the physical structure of the network
  • Cattle, not pets
  • Test (Chaos Engineering)

bg right:45% 90%


There is One Administrator

Problem:

  • There is no one person that knows everything

Solutions:

  • Embrace DevOps
  • Centralized Logging & Monitoring

bg right:45% 90%


Transport Cost Is Zero

Problem:

  • Transport cost is not zero

Solutions:

  • Efficiency

bg right:45% 90%


The Network Is Homogeneous

Problem:

  • The network is heterogenous

Solutions:

  • Choose standard formats

bg right:45% 90%