parallelism

Doing several pieces of work at the same time instead of one after another.

In more detail

True parallelism needs more than one CPU core or machine; code that is only concurrent takes turns on one core instead. Build tools run independent tasks in parallel, and test runners split suites across parallel workers. Parallelism only helps for work that does not depend on each other’s results.

Examples

In Kafka the partition count caps how many consumers in one group can read in parallel.
In Node.js you get parallelism from the libuv thread pool, worker threads, child processes or the cluster module.

Related terms

Taught in

References

Certification courses