Back to Blog

Concurrency vs. Parallelism

August 22, 2024 (1y ago)

Concurrency vs. Parallelism

Concurrency refers to the ability of a system or processor or core to handle multiple tasks at the same time, but not necessarily executing them simultaneously. It's about managing multiple tasks in a way that makes them appear as though they're happening at the same time.

Parallelism is about performing multiple tasks simultaneously. It's the literal simultaneous execution of computations or processes on multiple processors or cores.

Example

Fig 1: The traffic on multi-lane road. Image Credit

Here are the key points: