Parallelism is the simultaneous execution of multiple tasks. It differs from concurrency, which can also mean executing tasks out of order. Both can help process multiple incoming requests efficiently. section 10.1 section 10.6
Two tasks on two CPUs
Imagine two Rust functions running at the same time, with one scheduled on CPU 1 and the other on CPU 2. This illustrates parallel processing, though it does not establish that this is the most efficient way to use CPU time. section 10.1
Compare the illustration of concurrency and parallelism. section 10.1





































