Modeling/TheoremParadigm

Difference between Concurrency and Parallelism

데먕 2019. 8. 18. 20:31

1. Overview

Distinguish two concepts in detail.

 

2. Comparison Between Concurrency and Parallelism

  Concurrency Parallelism
Basic Running multiple computations at the same time Running multiple computations simultaneously
Achieved through Interleaving operation Using multiple CPU's
Benefits An increasing amount of work accomplished at a time Multiple CPU's for operating multiple processes
Make use of  Context switching Multiple CPU's for operating multiple processes
Processing units required Probably single Multiple
Example Running multiple application at the same time Running web crawler on a cluster

3. References

https://techdifferences.com/difference-between-concurrency-and-parallelism.html