A slow or failing external provider

A architecture exercise of about 30 minutes: read the statement, solve «A slow or failing external provider» in the browser and get a review like in a real interview.

Architecture · 30 min
Loading…

Statement

Your online shop calls a logistics provider's API for two things: showing the delivery time and shipping price on the product page and at checkout, and registering the shipment when an order is paid. When the provider is slow, the whole site gets slow and ends up down. Design how you isolate the shop from that provider: what you do when it is slow or down and how you recover when it comes back.