System Design
6. Distributed Systems FundamentalsAnimated
Distributed Computing
Splitting computation across machines.
The idea
A large job is divided into tasks that run in parallel on many machines, results are combined.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
A durable engine stores the workflow's state.
- step:
- 1/4
- at:
- Trigger
1/12
The green dot is a request moving through the system.
Step by step
- 1Split the job
- 2Assign tasks to workers
- 3Run in parallel
- 4Gather the results
Where it is used
Data processing and training.
Watch out for
Stragglers and failed workers slow the whole job.