What are distributed systems?
multiple computers communicating via network
trying to acheive some task together
consist of nodes (e.g. computer, phone, car robot,…)
Why make systems distributed?
systems is already inherently distributed (e.g. sending messages from phone to phone)
better reliability
if one node fails, system as whole keeps functioning
better performance
get data from nearby node rather tham from other end of world
solve bigger problems
hughe amounts of data cannot fit on one machine…
What are the main challenges of distributed systems?
fault tolerance
how to revocer from failures without performing incorrect actions
availability
24/7 operations even in face of failure
recovery
failed system components can restart and rejoin system in correct state
consistency or correctnes
systen invariants preserved in face of concurrency, asynchrony and failures
scalability
if you cant scale -> will not survive the market
performance
achieve predictable performance, response in timely manner
security
system is secure/authenticated (data and code!)
Zuletzt geändertvor 2 Jahren