Concurrency Workflow#
Parallelism#
An analogy: eating and singing can be performed concurrently (alternating actions) but not in parallel (simultaneously).
Concurrency & Parallelism
Concurrency: Progress multiple tasks over a period of time.
Parallelism: Simultaneous execution of multiple tasks.
Parallelism is a form of concurrency that is limited by the number of physical cores.