【Performance】Concurrency vs Parallelism

Posted by 西维蜀黍 on 2021-10-03, Last Modified on 2022-02-19

Concurrency is not parallelism, although it enables parallelism.

If you have only one processor, your program can still be concurrent but it cannot be parallel.

On the other hand, a well-written concurrent program might run efficiently in parallel on a multiprocessor. That property could be important…

Reference


TOC