Mid
From PDF
Azure
Microsoft Azure
Inventory reserved?
Short answer: If payment fails: Compensation triggered → cancel order Implementation in Azure: Azure Service Bus (events) Each service listens & reacts Advanced insight: Avoid 2-phase commit Use idempotency + retry mechanisms
Example code
If payment fails: Compensation triggered → cancel order Implementation in Azure: Azure Service Bus (events) Each service listens & reacts Advanced insight: Avoid 2-phase commit Use idempotency + retry mechanisms
Real-world example (ShopNest)
ShopNest on Azure typically uses App Service + SQL Database + Blob Storage + Application Insights for monitoring.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png