System Design
16. Performance EngineeringAnimated
Parallel Processing
Doing work simultaneously on many cores or machines.
The idea
Divide the problem and run pieces at the same time.
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 data
- 2Process pieces in parallel
- 3Combine results
- 4Watch for stragglers
Where it is used
Data processing.
Watch out for
Overhead and uneven splits.