@ -102,13 +102,15 @@ To see the difference, imagine the following story about burgers:
### Concurrent Burgers
<!-- The gender neutral cook emoji "๐งโ๐ณ" does not render well in browsers. In the meantime, I'm using a mix of male "๐จโ๐ณ" and female "๐ฉโ๐ณ" cooks. -->
You go with your crush ๐ to get fast food ๐, you stand in line while the cashier ๐ takes the orders from the people in front of you.
Then it's your turn, you place your order of 2 very fancy burgers ๐ for your crush ๐ and you.
You pay ๐ธ.
The cashier ๐ says something to the guy in the kitchen ๐จโ๐ณ so he knows he has to prepare your burgers ๐ (even though he is currently preparing the ones for the previous clients).
The cashier ๐ says something to the cook in the kitchen ๐จโ๐ณ so they know they have to prepare your burgers ๐ (even though they are currently preparing the ones for the previous clients).
The cashier ๐ gives you the number of your turn.
@ -146,9 +148,9 @@ Now let's imagine these aren't "Concurrent Burgers", but "Parallel Burgers".
You go with your crush ๐ to get parallel fast food ๐.
You stand in line while several (let's say 8) cashiers that at the same time are cooks ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ take the orders from the people in front of you.
You stand in line while several (let's say 8) cashiers that at the same time are cooks ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ take the orders from the people in front of you.
Everyone before you is waiting ๐ for their burgers ๐ to be ready before leaving the counter because each of the 8 cashiers goes himself and prepares the burger right away before getting the next order.
Everyone before you is waiting ๐ for their burgers ๐ to be ready before leaving the counter because each of the 8 cashiers goes and prepares the burger right away before getting the next order.
Then it's finally your turn, you place your order of 2 very fancy burgers ๐ for your crush ๐ and you.
@ -174,7 +176,7 @@ There was not much talk or flirting as most of the time was spent waiting ๐ i
In this scenario of the parallel burgers, you are a computer / program ๐ค with two processors (you and your crush ๐), both waiting ๐ and dedicating their attention โฏ to be "waiting on the counter" ๐ for a long time.
The fast food store has 8 processors (cashiers/cooks) ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ. While the concurrent burgers store might have had only 2 (one cashier and one cook) ๐ ๐จโ๐ณ.
The fast food store has 8 processors (cashiers/cooks) ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ. While the concurrent burgers store might have had only 2 (one cashier and one cook) ๐ ๐จโ๐ณ.
But still, the final experience is not the best ๐.
@ -236,7 +238,7 @@ You could have turns as in the burgers example, first the living room, then the
It would take the same amount of time to finish with or without turns (concurrency) and you would have done the same amount of work.
But in this case, if you could bring the 8 ex-cashier/cooks/now-cleaners ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ๐จโ๐ณ, and each one of them (plus you) could take a zone of the house to clean it, you could do all the work in **parallel**, with the extra help, and finish much sooner.
But in this case, if you could bring the 8 ex-cashier/cooks/now-cleaners ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ๐ฉโ๐ณ๐จโ๐ณ, and each one of them (plus you) could take a zone of the house to clean it, you could do all the work in **parallel**, with the extra help, and finish much sooner.
In this scenario, each one of the cleaners (including you) would be a processor, doing their part of the job.