Concurrent vs Parallel vs Sequential
Introduction
People get confused to explain the difference between Concurrent, Parallel, and Sequential. I often talk about them in the office and I realize to share this story and maybe it will help you to know the difference between both.
Concurrent
Concurrent is a condition when tasks are running at the same time but not really simultaneously. This means task-B can run its process without waiting for task-A to be completed and they can run overlapping (context-switching) with shared resources.
Parallel
Parallel is different from concurrent. Parallel can run multiple tasks but in multiple cores too. This means task-B can run its process in core-B and task-A can run its process in core-A without depending on each other.
Sequential
In general, sequential is similar to parallel. It is traditional computing because all processes need to run one by one. If the first process is not complete yet then the second process cannot run until the first process is complete.
References