Distribuerede systemer (flere computere, der arbejder sammen via et netværk) medbringer betydelige udfordringer, som ikke findes i single-machine-systemer — netværksusikkerhed, partielle fejl, konsistens, koordinering og meget mere. Det er essentielt at forstå disse for at designe systemer i stor skala.
Hvorfor distribuerede systemer er vanskelige
Multiple machines communicating over a NETWORK introduce fundamental challenges:
→ the NETWORK is unreliable (latency, packet loss, partitions) and not instant
→ PARTIAL FAILURES → some parts fail while others work (vs all-or-nothing on one machine)
→ no shared memory/clock → coordination is hard
→ "the network is reliable" etc. are FALLACIES — distributed systems break these assumptions.
