What is the difference between Parallelism and Concurrency?

What is the difference between parallelism and concurrency?

Concurrency is when two or more jobs are being performed at the same time. One is 'paused' for a short duration, while the other is being worked on.

Parallelism requires that at least two "workers" actively performing jobs in parallel. This means that you require at least two 'processors' for parallelism.

Comments

Popular posts from this blog

What is Skylake and how does it compare with Broadwell or Haswell?

What is Tokenization?

What is three in a box model?