Parallel and Concurrent Processing Notes
Parallel and Concurrent Processing Notes
A parallel algorithm is a special kind of algorithm that can run multiple instructions at the same time
using different processors (CPUs). After all parts finish, the results are combined to give the final
answer.
This is useful when we deal with huge amounts of data that need to be processed quickly.
What is an Algorithm?
- Performs computations
Unlike regular algorithms that run one step after another, a parallel algorithm:
Concurrent processing means doing multiple tasks at the same time - not one after the other.
Instead of finishing one task fully before starting the next, we work on parts of multiple tasks
together.
Real-Life Example:
Cooking: Boiling water, Toasting bread, Frying eggs - all done side by side to save time.
Computer Example:
- Plays music
- Downloads a file
- Updates software
- Big data
- Fast systems
- Real-time tasks
So we split jobs into smaller parts, run them together, and combine results fast.
1. Weather Forecasting
2. Biomedical Analysis
3. Astronomy
4. Robotics
5. Aircraft Testing
6. Web Services
|-------------------|-----------------------------------|-------------------------------------|
| What happens? | Tasks run exactly at the same time| Tasks are in progress at same time |
Summary: