In the lesson on transactions, MULTI could not take an order number and queue it right away: a transaction's commands do not see each other's replies. A barista has a recipe card for jobs like that: "take the next number, write it on a ticket, hang the ticket on the rail". He follows it from the first line to the last and serves nobody in between.
In this lesson
- EVAL
- A script decides by replies
- EVALSHA
- A long script
- Common mistake
- Key points