Loading lesson…
Level 1 · Apprentice0 XP
Hand work to a queue so a slow or broken part does not stop the rest.
Step 1 / 5
ProblemPlacing an order charges the card, saves the order, sends an email and updates analytics, all before the user sees 'thank you'. When the email provider is slow, checkout is slow. When it is down, nobody can buy.
← → step
Before this: REST, gRPC and GraphQL
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Write a consumer for 'order placed' messages that sends a receipt email and is safe if the same message arrives twice. Then say what you do with a message that fails five times.