Notification sent?
Why this design:
- Prevents blocking operations
- Improves scalability
- Handles failures gracefully
Follow-up (Interviewer traps you):
“What if payment fails?”
Strong Answer:
- Retry using Polly (3 attempts)
- If still fails → move message to Dead Letter Queue
- Trigger compensation logic → cancel order
👉 This answer shows real-world failure handling