The difference between concurrency and parallelism

A quick note about the terms used as part of this chapter. There is a fundamental difference between concurrency and parallelism, and it is worth understanding what that difference is as we begin implementing some of the more complicated parts of our application. Concurrency refers to the ability to handle multiple tasks that are starting, stopping, and completing in some sort of overlapping manner. If we were to look at that like a list of tasks and results, it might look something like this:

Get Phoenix Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.