Concurrent Burgers

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 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.

While you are waiting, you go with your crush 😍 and pick a table, you sit and talk with your crush 😍 for a long time (as your burgers are very fancy and take some time to prepare βœ¨πŸ”βœ¨).

As you are sitting at the table with your crush 😍, while you wait for the burgers πŸ”, you can spend that time admiring how awesome, cute and smart your crush is ✨😍✨.

While waiting and talking to your crush 😍, from time to time, you check the number displayed on the counter to see if it’s your turn already.

Then at some point, it finally is your turn. You go to the counter, get your burgers πŸ” and come back to the table.

You and your crush 😍 eat the burgers πŸ” and have a nice time ✨.

Imagine you are the computer / program πŸ€– in that story.

While you are at the line, you are just idle 😴, waiting for your turn, not doing anything very “productive”. But the line is fast because the cashier πŸ’ is only taking the orders (not preparing them), so that’s fine.

Then, when it’s your turn, you do actual “productive” work πŸ€“, you process the menu, decide what you want, get your crush’s 😍 choice, pay πŸ’Έ, check that you give the correct bill or card, check that you are charged correctly, check that the order has the correct items, etc.

But then, even though you still don’t have your burgers πŸ”, your work with the cashier πŸ’ is “on pause” ⏸, because you have to wait πŸ•™ for your burgers to be ready.

But as you go away from the counter and sit at the table with a number for your turn, you can switch πŸ”€ your attention to your crush 😍, and “work” ⏯ πŸ€“ on that. Then you are again doing something very “productive” πŸ€“, as is flirting with your crush 😍.

Then the cashier πŸ’ says “I’m finished with doing the burgers” πŸ” by putting your number on the counter’s display, but you don’t jump like crazy immediately when the displayed number changes to your turn number. You know no one will steal your burgers πŸ” because you have the number of your turn, and they have theirs.

So you wait for your crush 😍 to finish the story (finish the current work ⏯ / task being processed πŸ€“), smile gently and say that you are going for the burgers ⏸.

Then you go to the counter πŸ”€, to the initial task that is now finished ⏯, pick the burgers πŸ”, say thanks and take them to the table. That finishes that step / task of interaction with the counter ⏹. That in turn, creates a new task, of “eating burgers” πŸ”€ ⏯, but the previous one of “getting burgers” is finished ⏹.
Parallel BurgersΒΆ

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.

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.

You pay πŸ’Έ.

The cashier goes to the kitchen πŸ‘¨β€πŸ³.

You wait, standing in front of the counter πŸ•™, so that no one else takes your burgers πŸ” before you do, as there are no numbers for turns.

As you and your crush 😍 are busy not letting anyone get in front of you and take your burgers whenever they arrive πŸ•™, you cannot pay attention to your crush 😞.

This is “synchronous” work, you are “synchronized” with the cashier/cook πŸ‘¨β€πŸ³. You have to wait πŸ•™ and be there at the exact moment that the cashier/cook πŸ‘¨β€πŸ³ finishes the burgers πŸ” and gives them to you, or otherwise, someone else might take them.

Then your cashier/cook πŸ‘¨β€πŸ³ finally comes back with your burgers πŸ”, after a long time waiting πŸ•™ there in front of the counter.

You take your burgers πŸ” and go to the table with your crush 😍.

You just eat them, and you are done πŸ” ⏹.

There was not much talk or flirting as most of the time was spent waiting πŸ•™ in front of the counter 😞.

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) πŸ’ πŸ‘¨β€πŸ³.

But still, the final experience is not the best 😞.

This would be the parallel equivalent story for burgers πŸ”.

For a more “real life” example of this, imagine a bank.

Up to recently, most of the banks had multiple cashiers πŸ‘¨β€πŸ’ΌπŸ‘¨β€πŸ’ΌπŸ‘¨β€πŸ’ΌπŸ‘¨β€πŸ’Ό and a big line πŸ•™πŸ•™πŸ•™πŸ•™πŸ•™πŸ•™πŸ•™πŸ•™.

All of the cashiers doing all the work with one client after the other πŸ‘¨β€πŸ’Όβ―.

And you have to wait πŸ•™ in the line for a long time or you lose your turn.

You probably wouldn’t want to take your crush 😍 with you to do errands at the bank 🏦.

#Concurrent #Burgers

What do you think?

12 Points
Upvote Downvote

Leave a Reply